summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-18 15:20:11 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-11-25 06:06:48 +0000
commit58eab57648e222e5a3e488087afd44eea6efd591 (patch)
tree190af535c3871f3931a3b29dea55493751a01d03 /odk/examples/DevelopersGuide/OfficeDev
parent1658c017a27ac2cccb2af89f88a4cde8ffdbe531 (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 'odk/examples/DevelopersGuide/OfficeDev')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java
index e510d7ddf70d..70bab16fff3f 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java
@@ -57,7 +57,7 @@ public class FlatXml implements XImportFilter, XExportFilter, XServiceName,
*/
private final XMultiServiceFactory m_xServiceFactory;
private XExtendedDocumentHandler m_xHandler;
- private final boolean m_bPrettyPrint = true;
+ private static final boolean m_bPrettyPrint = true;
static private final String __serviceName = "devguide.officedev.samples.filter.FlatXmlJava";
static private final String __implName = "FlatXml";