summaryrefslogtreecommitdiff
path: root/nlpsolver
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-12 16:27:18 +0200
committerNoel Grandin <noel@peralex.com>2014-08-13 08:49:24 +0200
commit8583da1e934a49791ef8d86668f3d5c3c5dae1d7 (patch)
treef092f708b7bb9a0a23ae82c1dc499a6e3fde4518 /nlpsolver
parent68cd011c907d00493bf2bfde531c1e244819596b (diff)
java: remove unused fields
found by UCDetector Change-Id: I4a7c56a9918054c23469de5680658e7b501f0165
Diffstat (limited to 'nlpsolver')
-rw-r--r--nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicTag.java44
-rw-r--r--nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalString.java2
-rw-r--r--nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/BaseControl.java4
3 files changed, 24 insertions, 26 deletions
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicTag.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicTag.java
index 8c21d8de3f1f..e1ba8786033e 100644
--- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicTag.java
+++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicTag.java
@@ -12,29 +12,29 @@ package net.adaptivebox.global;
public class BasicTag {
- public static final String COMMAND_TAG = "%";
- public static final String TAB_TAG = "\t";
- public static final String LEFT_SMALL_BRACKET_TAG = "(";
- public static final String RIGHT_SMALL_BRACKET_TAG = ")";
- public static final String LEFT_LARGE_BRACKET_TAG = "{";
- public static final String RIGHT_LARGE_BRACKET_TAG = "}";
- public static final String LEFT_BRACKET_TAG = "[";
- public static final String RIGHT_BRACKET_TAG = "]";
- public static final String EQUAL_TAG = "=";
- public static final String SPACE_TAG = " ";
- public static final String SEMICOLON_TAG = ";";
- public static final String COLON_TAG = ":";
- public static final String COMMA_TAG = ",";
+
+
+
+
+
+
+
+
+
+
+
+
+
public static final String DOT_TAG = ".";
- public static final String NULL_SEPARATE_TAG = " \t";
- public static final String SEPARATE_TAG = "|";
- public static final String UNDERLINE_TAG = "_";
- public static final String INC_TAG = "+";
- public static final String DEC_TAG = "-";
- public static final String ZERO_TAG = "0";
- public static final String EXP_TAG = "E";
- public static final String S_EXP_TAG = "e";
+
+
+
+
+
+
+
+
public static final String FILE_SEP_TAG = System.getProperty("file.separator");
- public static final String RETURN_TAG = System.getProperty("line.separator");
+
}
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalString.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalString.java
index b00ece9652ee..78f08e5dc213 100644
--- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalString.java
+++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalString.java
@@ -28,7 +28,7 @@ import java.util.*;
public class GlobalString {
private static final String NEGLECT_TAG = "#$@";
- public static final String EQUAL_TAG = "=";
+
/**
* Tokenize a String with given key.
diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/BaseControl.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/BaseControl.java
index a1de9d28ff29..23ba098c37f3 100644
--- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/BaseControl.java
+++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/dialogs/controls/BaseControl.java
@@ -47,7 +47,7 @@ public abstract class BaseControl {
private Object unoModel;
protected Object unoControl;
private XPropertySet properties;
- private BaseControl parentControl;
+
public abstract String getName();
@@ -79,7 +79,6 @@ public abstract class BaseControl {
XControlContainer controlContainer = UnoRuntime.queryInterface(XControlContainer.class, parentControl.unoControl);
unoControl = controlContainer.getControl(name);
- this.parentControl = parentControl;
} catch (IllegalArgumentException ex) {
Logger.getLogger(BaseControl.class.getName()).log(Level.SEVERE, null, ex);
} catch (ElementExistException ex) {
@@ -93,7 +92,6 @@ public abstract class BaseControl {
this.context = context;
unoModel = null;
unoControl = null;
- parentControl = null;
}
protected void setProperty(String name, Object value) {