diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-18 15:20:11 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-25 06:06:48 +0000 |
commit | 58eab57648e222e5a3e488087afd44eea6efd591 (patch) | |
tree | 190af535c3871f3931a3b29dea55493751a01d03 /qadevOOo/runner | |
parent | 1658c017a27ac2cccb2af89f88a4cde8ffdbe531 (diff) |
java: final fields that can be static
found by PMD
Change-Id: I2b48f35d252d6e914c2a18a2c175b075a9d3ac0f
Reviewed-on: https://gerrit.libreoffice.org/13099
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r-- | qadevOOo/runner/graphical/ParameterHelper.java | 2 | ||||
-rw-r--r-- | qadevOOo/runner/lib/TestParameters.java | 2 | ||||
-rw-r--r-- | qadevOOo/runner/util/ShapeDsc.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/graphical/ParameterHelper.java b/qadevOOo/runner/graphical/ParameterHelper.java index 2c9e95217ed9..30d5aa89dd90 100644 --- a/qadevOOo/runner/graphical/ParameterHelper.java +++ b/qadevOOo/runner/graphical/ParameterHelper.java @@ -67,7 +67,7 @@ public class ParameterHelper private String m_sPrinterName = null; - private final int m_nResolutionInDPI = 180; + private static final int m_nResolutionInDPI = 180; private String m_sInputPath = null; private String m_sOutputPath = null; diff --git a/qadevOOo/runner/lib/TestParameters.java b/qadevOOo/runner/lib/TestParameters.java index abd1dc29097b..1ca6a5c5b638 100644 --- a/qadevOOo/runner/lib/TestParameters.java +++ b/qadevOOo/runner/lib/TestParameters.java @@ -51,7 +51,7 @@ public class TestParameters extends HashMap<String,Object> { * Debug information will always be written on standard out.<br> * default is true */ - private final boolean DebugIsActive = false; + private static final boolean DebugIsActive = false; /** * Wrapper around "get()" with some debug output diff --git a/qadevOOo/runner/util/ShapeDsc.java b/qadevOOo/runner/util/ShapeDsc.java index 99fdaea84fc8..e47128172178 100644 --- a/qadevOOo/runner/util/ShapeDsc.java +++ b/qadevOOo/runner/util/ShapeDsc.java @@ -32,7 +32,7 @@ public class ShapeDsc extends InstDescr { private final int y; private final int height; private final int width; - private final String name = null; + private static final String name = null; private static final String ifcName = "com.sun.star.drawing.XShape"; private final String service; |