summaryrefslogtreecommitdiffstats
path: root/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-12-20 11:25:37 +0100
committerAndras Timar <andras.timar@collabora.com>2013-12-20 15:55:00 +0100
commitb55259eeb549482477c57d854f3de72aff345edb (patch)
tree35e474b8458ae776a8455f4f78e73ae28c611180 /odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
parentCppunitTest_sw_ooxmlexport: register wps, wp and a namespaces (diff)
downloadcore-b55259eeb549482477c57d854f3de72aff345edb.tar.gz
core-b55259eeb549482477c57d854f3de72aff345edb.zip
typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
index b7e113b18c29..5b9851188aea 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
@@ -53,7 +53,7 @@ public class ViewContainer extends Thread
/**
* provides a singleton view container
- * Neccessary for terminate(9 functionality to be able
+ * Necessary for terminate(9 functionality to be able
* to call Runtime.runFinilization().
*
* @return a reference to the singleton ViewContainer instance
@@ -145,12 +145,12 @@ public class ViewContainer extends Thread
// remote references.
if (nViewCount<1)
{
- boolean bNeccessary = false;
+ boolean bNecessary = false;
synchronized(this)
{
- bNeccessary = ! mbShutdownActive;
+ bNecessary = ! mbShutdownActive;
}
- if (bNeccessary==true)
+ if (bNecessary==true)
{
System.out.println("call exit(0)!");
System.exit(0);