From f13ebf70037a6aa28dc53804c1f0cef6e2f23102 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Mon, 19 May 2014 01:36:03 +0100 Subject: Minor refactorings --- src/jcgp/backend/function/Function.java | 2 +- src/jcgp/backend/function/UnsignedInteger.java | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'src/jcgp/backend/function') 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 @@ -38,15 +38,6 @@ public class UnsignedInteger { value = new Integer(i); } - /** - * 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. -- cgit v1.2.3