diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-11 09:29:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 13:34:42 +0200 |
commit | 5ca7fa8db244f225d680f86d6eceefa69eb35b6d (patch) | |
tree | c84c16da0a3cc5754b543146ea2247951ad5d0c9 | |
parent | remove unnecessary use of Java reflection (diff) | |
download | core-5ca7fa8db244f225d680f86d6eceefa69eb35b6d.tar.gz core-5ca7fa8db244f225d680f86d6eceefa69eb35b6d.zip |
make some java fields private
found by UCDetector
Change-Id: Ib4cf18be134c3177cb123191e963bb43b7e6de93
3 files changed, 3 insertions, 3 deletions
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java index 1a5d2523099c..bdbf51bfdfa5 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java @@ -25,7 +25,7 @@ import net.adaptivebox.global.*; public class EvalElement { //The weight for each response (target) - public double weight = 1; + private double weight = 1; /** * The expected range of the response value, forms the following objective: * diff --git a/qadevOOo/runner/convwatch/GraphicalTestArguments.java b/qadevOOo/runner/convwatch/GraphicalTestArguments.java index b9b195afd9d3..a6f506e318fb 100644 --- a/qadevOOo/runner/convwatch/GraphicalTestArguments.java +++ b/qadevOOo/runner/convwatch/GraphicalTestArguments.java @@ -84,7 +84,7 @@ public class GraphicalTestArguments private TestParameters m_aCurrentParams; private int m_nMaxPages = 0; // default is 0 (print all pages) - String m_sOnlyPage = ""; // default is "", there is no page which we want to print only. + private String m_sOnlyPage = ""; // default is "", there is no page which we want to print only. private int m_nResolutionInDPI = 0; diff --git a/wizards/com/sun/star/wizards/text/TextDocument.java b/wizards/com/sun/star/wizards/text/TextDocument.java index a604f2f29e86..181314aade12 100644 --- a/wizards/com/sun/star/wizards/text/TextDocument.java +++ b/wizards/com/sun/star/wizards/text/TextDocument.java @@ -74,7 +74,7 @@ public class TextDocument public XComponent xComponent; public com.sun.star.text.XTextDocument xTextDocument; - public com.sun.star.document.XDocumentProperties m_xDocProps; + private com.sun.star.document.XDocumentProperties m_xDocProps; public com.sun.star.task.XStatusIndicator xProgressBar; public com.sun.star.frame.XFrame xFrame; public XText xText; |