From 718f7ba7ad9c5dd604cf84389aca09f37def13d1 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Tue, 25 Jul 2017 21:57:14 -0700 Subject: [PATCH] Move function into its own package. --- src/org/nwapw/abacus/{number => function}/Function.java | 5 ++++- src/org/nwapw/abacus/plugin/Plugin.java | 2 +- src/org/nwapw/abacus/plugin/PluginManager.java | 2 -- src/org/nwapw/abacus/plugin/StandardPlugin.java | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) rename src/org/nwapw/abacus/{number => function}/Function.java (82%) diff --git a/src/org/nwapw/abacus/number/Function.java b/src/org/nwapw/abacus/function/Function.java similarity index 82% rename from src/org/nwapw/abacus/number/Function.java rename to src/org/nwapw/abacus/function/Function.java index 63f1ad4..bd5003d 100755 --- a/src/org/nwapw/abacus/number/Function.java +++ b/src/org/nwapw/abacus/function/Function.java @@ -1,4 +1,7 @@ -package org.nwapw.abacus.number; +package org.nwapw.abacus.function; + +import org.nwapw.abacus.number.NaiveNumber; +import org.nwapw.abacus.number.NumberInterface; import java.util.HashMap; diff --git a/src/org/nwapw/abacus/plugin/Plugin.java b/src/org/nwapw/abacus/plugin/Plugin.java index 7f286db..11e10e1 100644 --- a/src/org/nwapw/abacus/plugin/Plugin.java +++ b/src/org/nwapw/abacus/plugin/Plugin.java @@ -1,6 +1,6 @@ package org.nwapw.abacus.plugin; -import org.nwapw.abacus.number.Function; +import org.nwapw.abacus.function.Function; import java.util.HashMap; diff --git a/src/org/nwapw/abacus/plugin/PluginManager.java b/src/org/nwapw/abacus/plugin/PluginManager.java index 413c6e1..0e0d78a 100644 --- a/src/org/nwapw/abacus/plugin/PluginManager.java +++ b/src/org/nwapw/abacus/plugin/PluginManager.java @@ -1,7 +1,5 @@ package org.nwapw.abacus.plugin; -import org.nwapw.abacus.number.Function; - import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.HashMap; diff --git a/src/org/nwapw/abacus/plugin/StandardPlugin.java b/src/org/nwapw/abacus/plugin/StandardPlugin.java index c52b4ff..4c6ccee 100644 --- a/src/org/nwapw/abacus/plugin/StandardPlugin.java +++ b/src/org/nwapw/abacus/plugin/StandardPlugin.java @@ -1,6 +1,6 @@ package org.nwapw.abacus.plugin; -import org.nwapw.abacus.number.Function; +import org.nwapw.abacus.function.Function; import org.nwapw.abacus.number.NaiveNumber; import org.nwapw.abacus.number.NumberInterface;