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 /sc | |
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 'sc')
-rw-r--r-- | sc/qa/complex/dataPilot/CheckDataPilot.java | 2 | ||||
-rw-r--r-- | sc/qa/complex/dataPilot/_XDataPilotDescriptor.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/complex/dataPilot/CheckDataPilot.java b/sc/qa/complex/dataPilot/CheckDataPilot.java index 9d8b7fdfe9c9..c3f5263e3af3 100644 --- a/sc/qa/complex/dataPilot/CheckDataPilot.java +++ b/sc/qa/complex/dataPilot/CheckDataPilot.java @@ -69,7 +69,7 @@ public class CheckDataPilot { * A field is filled some values. This integer determines the size of the * field in x and y direction. */ - private final int mMaxFieldIndex = 6; + private static final int mMaxFieldIndex = 6; /** * The test parameters diff --git a/sc/qa/complex/dataPilot/_XDataPilotDescriptor.java b/sc/qa/complex/dataPilot/_XDataPilotDescriptor.java index ee6888613de4..fe537e0f1292 100644 --- a/sc/qa/complex/dataPilot/_XDataPilotDescriptor.java +++ b/sc/qa/complex/dataPilot/_XDataPilotDescriptor.java @@ -55,7 +55,7 @@ public class _XDataPilotDescriptor { private final XDataPilotDescriptor oObj; private final CellRangeAddress CRA = new CellRangeAddress((short)1, 0, 0, 5, 5); - private final String sTag = "XDataPilotDescriptor_Tag"; + private static final String sTag = "XDataPilotDescriptor_Tag"; private String fieldsNames[]; private int tEnvFieldsAmount = 0; |