diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-19 01:36:03 +0100 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-19 01:36:03 +0100 |
commit | f13ebf70037a6aa28dc53804c1f0cef6e2f23102 (patch) | |
tree | 2295186b9655207d036df6c871902a760743e993 /src/jcgp/backend/function | |
parent | 2a655a0b1654a2721089f0f8d99b846d7e198f38 (diff) |
Minor refactorings
Diffstat (limited to 'src/jcgp/backend/function')
-rw-r--r-- | src/jcgp/backend/function/Function.java | 2 | ||||
-rw-r--r-- | src/jcgp/backend/function/UnsignedInteger.java | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/src/jcgp/backend/function/Function.java b/src/jcgp/backend/function/Function.java index 2e1f3c6..f277228 100644 --- a/src/jcgp/backend/function/Function.java +++ b/src/jcgp/backend/function/Function.java @@ -17,7 +17,7 @@ public abstract class Function { * @param args the function arguments. * @return the function result. */ - public abstract Object run(Object... args); + public abstract Object run(Object... arguments); /** * @return the arity of the function. diff --git a/src/jcgp/backend/function/UnsignedInteger.java b/src/jcgp/backend/function/UnsignedInteger.java index d23862c..553f934 100644 --- a/src/jcgp/backend/function/UnsignedInteger.java +++ b/src/jcgp/backend/function/UnsignedInteger.java @@ -39,15 +39,6 @@ public class UnsignedInteger { } /** - * Makes a new instance of UnsignedInteger with a specified value. - * - * @param i the value with which to initialise. - */ - public UnsignedInteger(Integer i) { - value = i; - } - - /** * Makes a new instance of UnsignedInteger from the string representation * of an unsigned integer. * |