diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 11:14:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-12 12:16:37 +0200 |
commit | e701b3f732fa7f70cb273183e9ae8dbfd840f5e4 (patch) | |
tree | 8bcf687f10ccd70be0882360d2155378993cef26 /qadevOOo/runner/graphical | |
parent | cc4d76145f7b92992b885cdc58b4534e8c024ac5 (diff) |
java: reduce scope, make constants private
found by UCDetector
Change-Id: Ide9975e361ed17ac8cdcbe67ba74c563a9392d57
Diffstat (limited to 'qadevOOo/runner/graphical')
-rw-r--r-- | qadevOOo/runner/graphical/HTMLResult.java | 8 | ||||
-rw-r--r-- | qadevOOo/runner/graphical/PerformanceContainer.java | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/qadevOOo/runner/graphical/HTMLResult.java b/qadevOOo/runner/graphical/HTMLResult.java index e170ec68ee62..6d6ecb1b6335 100644 --- a/qadevOOo/runner/graphical/HTMLResult.java +++ b/qadevOOo/runner/graphical/HTMLResult.java @@ -86,10 +86,10 @@ public class HTMLResult flush(); } - final static String TEST_TABLETITLE = "Document"; - final static String VISUAL_STATUS_TABLETITLE = "Visual status"; - final static String VISUAL_STATUS_MESSAGE_TABLETITLE = "Message"; - final static String FIRSTGFX_TABLETITLE = "Original print file as jpeg"; + private final static String TEST_TABLETITLE = "Document"; + private final static String VISUAL_STATUS_TABLETITLE = "Visual status"; + private final static String VISUAL_STATUS_MESSAGE_TABLETITLE = "Message"; + private final static String FIRSTGFX_TABLETITLE = "Original print file as jpeg"; public void indexSection(String _sOfficeInfo) { diff --git a/qadevOOo/runner/graphical/PerformanceContainer.java b/qadevOOo/runner/graphical/PerformanceContainer.java index f4b4b4e5b426..32eaac791cf0 100644 --- a/qadevOOo/runner/graphical/PerformanceContainer.java +++ b/qadevOOo/runner/graphical/PerformanceContainer.java @@ -69,7 +69,7 @@ public class PerformanceContainer /* extends *//* implements */ { final static int StoreAsPDF = 4; final static int OfficeStop = 5; final static int AllTime = 6; - final static int LAST_VALUE = 7; // THIS MUST BE ALWAYS THE LAST AND THE BIGGEST VALUE! + private final static int LAST_VALUE = 7; // THIS MUST BE ALWAYS THE LAST AND THE BIGGEST VALUE! private long m_nTime[]; private String m_sMSOfficeVersion; |