diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-13 17:05:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-20 11:45:28 +0200 |
commit | 8c9fdc4a963fd55da59a93c979071f53b84fbc24 (patch) | |
tree | e913f69cee6ec9e3e2072f73d58088ae74d2260d /nlpsolver | |
parent | 34352e7f1b0fe55da4d1d43921674344ae6deafc (diff) |
java: remove modifiers implied by the context
found by PMD
Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
Diffstat (limited to 'nlpsolver')
6 files changed, 22 insertions, 22 deletions
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/IEncodeEngine.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/IEncodeEngine.java index 637d9d016088..ba3e20d69d5d 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/IEncodeEngine.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/IEncodeEngine.java @@ -20,5 +20,5 @@ package net.adaptivebox.encode; public interface IEncodeEngine{ - abstract public double[] getEncodeInfo(); + double[] getEncodeInfo(); } diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/IUpdateCycleEngine.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/IUpdateCycleEngine.java index 5dd4b7ef8719..f7c06224a8f1 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/IUpdateCycleEngine.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/IUpdateCycleEngine.java @@ -20,5 +20,5 @@ package net.adaptivebox.global; public interface IUpdateCycleEngine { - public void updateCycle(int t); + void updateCycle(int t); }
\ No newline at end of file diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/goodness/IGoodnessCompareEngine.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/goodness/IGoodnessCompareEngine.java index 1ff1dfb01923..6bd1444540d3 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/goodness/IGoodnessCompareEngine.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/goodness/IGoodnessCompareEngine.java @@ -24,9 +24,9 @@ package net.adaptivebox.goodness; public abstract interface IGoodnessCompareEngine { - public static final int LARGER_THAN = 2; - public static final int EQUAL_TO = 1; - public static final int LESS_THAN = 0; + int LARGER_THAN = 2; + int EQUAL_TO = 1; + int LESS_THAN = 0; /** * check the magnitude of two IEncodeEngine @@ -34,5 +34,5 @@ public abstract interface IGoodnessCompareEngine { * LESS_THAN: goodness1 is better than goodness2 * EQUAL_TO : goodness1 is eqaul to goodness2 **/ - public abstract int compare(double[] goodness1, double[] goodness2); + int compare(double[] goodness1, double[] goodness2); } diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/knowledge/ILibEngine.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/knowledge/ILibEngine.java index 741cba313495..8a4d348a8c53 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/knowledge/ILibEngine.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/knowledge/ILibEngine.java @@ -23,7 +23,7 @@ package net.adaptivebox.knowledge; public interface ILibEngine { - public void setLibrary(Library lib); + void setLibrary(Library lib); } diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/ILocationEngine.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/ILocationEngine.java index 33737339a383..8b32069a4ba6 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/ILocationEngine.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/ILocationEngine.java @@ -21,5 +21,5 @@ package net.adaptivebox.space; public interface ILocationEngine{ - abstract public double[] getLocation(); + double[] getLocation(); } diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/IEvolutionarySolverStatusDialog.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/IEvolutionarySolverStatusDialog.java index 331aa05bc7aa..9ef12e09e461 100644 --- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/IEvolutionarySolverStatusDialog.java +++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/IEvolutionarySolverStatusDialog.java @@ -28,21 +28,21 @@ package com.sun.star.comp.Calc.NLPSolver.dialogs; public interface IEvolutionarySolverStatusDialog { - public final static int WAITING = 0; - public final static int OK = 1; - public final static int CONTINUE = 2; - public final static int CANCEL = 3; + int WAITING = 0; + int OK = 1; + int CONTINUE = 2; + int CANCEL = 3; - public int getUserState(); + int getUserState(); - public void setBestSolution(double solution, boolean feasible); - public void setMaxIterations(int maxIterations); - public void setMaxStagnation(int maxStagnation); - public void setIteration(int iteration); - public void setStagnation(int stagnation); - public void setRuntime(long runtime); - public int waitForUser(); + void setBestSolution(double solution, boolean feasible); + void setMaxIterations(int maxIterations); + void setMaxStagnation(int maxStagnation); + void setIteration(int iteration); + void setStagnation(int stagnation); + void setRuntime(long runtime); + int waitForUser(); - public void setVisible(boolean visible); - public void dispose(); + void setVisible(boolean visible); + void dispose(); } |