summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev/TerminationTest/TerminationTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/TerminationTest/TerminationTest.java')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/TerminationTest/TerminationTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/TerminationTest/TerminationTest.java b/odk/examples/DevelopersGuide/OfficeDev/TerminationTest/TerminationTest.java
index a01fb242c9de..1dc59d318af1 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/TerminationTest/TerminationTest.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/TerminationTest/TerminationTest.java
@@ -67,7 +67,7 @@ public class TerminationTest extends java.lang.Object {
// try to terminate while we are at work
boolean terminated = xDesktop.terminate();
System.out.println("The Office " +
- (terminated == true ?
+ (terminated ?
"has been terminated" :
"is still running, we are at work"));
@@ -76,7 +76,7 @@ public class TerminationTest extends java.lang.Object {
// once more: try to terminate
terminated = xDesktop.terminate();
System.out.println("The Office " +
- (terminated == true ?
+ (terminated ?
"has been terminated" :
"is still running. Someone else prevents termination, " +
"e.g. the quickstarter"));