summaryrefslogtreecommitdiff
path: root/nlpsolver/src
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-15 08:54:31 +0200
committerNoel Grandin <noel@peralex.com>2015-10-15 09:23:16 +0200
commita1624a8ecd933f9efde940eea8ac0cc1db63cd5d (patch)
treed8f3c92bd28551f09ea4713f312515afeb2a48bd /nlpsolver/src
parent301764855ed9f4a4c28b98013361f7174e0f7c7b (diff)
cid#1327023 to cid#1327077 SIC: Inner class could be made static
Change-Id: I41f89c4feefe4e012d72c663ebb9bbcb4aa7f163
Diffstat (limited to 'nlpsolver/src')
-rw-r--r--nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java2
-rw-r--r--nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java2
2 files changed, 2 insertions, 2 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 2d93dca6e4bf..701e6ba63226 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);
}
- private class Variable {
+ private static class Variable {
private final CellMap CellMap;
private final int OriginalVariable;
private double MinValue;
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 0143b3a06c0b..fbb53f9b64ed 100644
--- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java
+++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java
@@ -185,7 +185,7 @@ public abstract class BaseNLPSolver extends WeakBase
}
}
- protected class CellMap {
+ protected static class CellMap {
protected int Range;
protected int Col;
protected int Row;