summaryrefslogtreecommitdiff
path: root/framework
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 /framework
parentcc4d76145f7b92992b885cdc58b4534e8c024ac5 (diff)
java: reduce scope, make constants private
found by UCDetector Change-Id: Ide9975e361ed17ac8cdcbe67ba74c563a9392d57
Diffstat (limited to 'framework')
-rw-r--r--framework/qa/complex/framework/autosave/Protocol.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java
index b1acaa46311e..bcf3d40a0544 100644
--- a/framework/qa/complex/framework/autosave/Protocol.java
+++ b/framework/qa/complex/framework/autosave/Protocol.java
@@ -55,8 +55,8 @@ public class Protocol extends JComponent
* @const TYPE_INFO this protocol line represent some debug data for analyzing
*/
public static final int MODE_STDOUT = 1;
- public static final int MODE_STDERR = 2;
- public static final int MODE_ASCII = 4;
+ private static final int MODE_STDERR = 2;
+ private static final int MODE_ASCII = 4;
public static final int MODE_HTML = 8;
public static final int TYPE_OK = 1;
@@ -66,10 +66,10 @@ public class Protocol extends JComponent
public static final int TYPE_SCOPE_OPEN = 16;
public static final int TYPE_SCOPE_CLOSE = 32;
public static final int TYPE_TESTMARK = 64;
- public static final int TYPE_ERROR_INFO = 128;
+ private static final int TYPE_ERROR_INFO = 128;
public static final int TYPE_WARNING_INFO = 256;
- public static final int TYPE_STATISTIC = 512;
- public static final int TYPE_LINK = 1024;
+ private static final int TYPE_STATISTIC = 512;
+ private static final int TYPE_LINK = 1024;
public static final int FILTER_NONE = 0;
public static final int FILTER_OK = TYPE_OK;