summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-08 11:14:08 +0200
committerNoel Grandin <noel@peralex.com>2014-08-12 12:16:37 +0200
commite701b3f732fa7f70cb273183e9ae8dbfd840f5e4 (patch)
tree8bcf687f10ccd70be0882360d2155378993cef26 /odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
parentcc4d76145f7b92992b885cdc58b4534e8c024ac5 (diff)
java: reduce scope, make constants private
found by UCDetector Change-Id: Ide9975e361ed17ac8cdcbe67ba74c563a9392d57
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
index 66481a697583..92dcacbab235 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
@@ -68,10 +68,10 @@ public class DocumentView extends JFrame
* These command strings are used to identify a received action
* of buttons on which we listen for action events.
*/
- public static final String COMMAND_OPEN = "open" ;
- public static final String COMMAND_SAVE = "save" ;
- public static final String COMMAND_EXPORT = "export" ;
- public static final String COMMAND_EXIT = "exit" ;
+ private static final String COMMAND_OPEN = "open" ;
+ private static final String COMMAND_SAVE = "save" ;
+ private static final String COMMAND_EXPORT = "export" ;
+ private static final String COMMAND_EXIT = "exit" ;