diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 11:39:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:23 +0200 |
commit | 70f56bc22fe952c75ec714e05e1bb5296491a36a (patch) | |
tree | af4b3cf94e84cc2f5bf57c002f264eb44c3558af /nlpsolver/src | |
parent | 2b3a801014b4891cd24ee4b61206652ff1cc6e73 (diff) |
java: reduce scope, make member classes private
found by UCDetector
Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
Diffstat (limited to 'nlpsolver/src')
-rw-r--r-- | nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java | 4 | ||||
-rw-r--r-- | nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java index a1a9cf29faea..e3db5d16fa2f 100644 --- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java +++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java @@ -60,7 +60,7 @@ public abstract class BaseEvolutionarySolver extends BaseNLPSolver { registerProperty(m_enhancedSolverStatus); } - protected class Variable { + private class Variable { private CellMap CellMap; private int OriginalVariable; private double MinValue; @@ -76,7 +76,7 @@ public abstract class BaseEvolutionarySolver extends BaseNLPSolver { } } - protected class CalcProblemEncoder extends ProblemEncoder { + private class CalcProblemEncoder extends ProblemEncoder { private ArrayList<Variable> m_variables; private ArrayList<ExtSolverConstraint> m_constraints; diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java index 34338123c2dd..ef7ae96debef 100644 --- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java +++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java @@ -164,7 +164,7 @@ public abstract class BaseNLPSolver extends WeakBase return m_variables; } - protected class RowInfo { + private class RowInfo { private short Sheet; private int Row; private int StartCol; |