From ce82fd56ddaee30aa2195f24ef15960446de6bd2 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Fri, 1 Sep 2017 18:11:19 -0700 Subject: [PATCH] Remove newlines generated by IntelliJ's addition of @Nullable. --- .../nwapw/abacus/plugin/StandardPlugin.java | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/core/src/main/java/org/nwapw/abacus/plugin/StandardPlugin.java b/core/src/main/java/org/nwapw/abacus/plugin/StandardPlugin.java index c149d4a..36ac473 100755 --- a/core/src/main/java/org/nwapw/abacus/plugin/StandardPlugin.java +++ b/core/src/main/java/org/nwapw/abacus/plugin/StandardPlugin.java @@ -23,7 +23,6 @@ public class StandardPlugin extends Plugin { return params.length == 2; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return params[0].add(params[1]); @@ -38,7 +37,6 @@ public class StandardPlugin extends Plugin { return params.length == 2; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return params[0].subtract(params[1]); @@ -54,7 +52,6 @@ public class StandardPlugin extends Plugin { return params.length == 1; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return params[0].negate(); @@ -69,7 +66,6 @@ public class StandardPlugin extends Plugin { return params.length == 2; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return params[0].multiply(params[1]); @@ -134,7 +130,6 @@ public class StandardPlugin extends Plugin { return params.length == 2 && params[1].compareTo(implementation.instanceForString(Integer.toString(0))) != 0; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return params[0].divide(params[1]); @@ -152,7 +147,6 @@ public class StandardPlugin extends Plugin { && params[0].signum() >= 0; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { if (params[0].signum() == 0) { @@ -183,7 +177,6 @@ public class StandardPlugin extends Plugin { && params[1].fractionalPart().signum() == 0; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { if (params[0].compareTo(params[1]) < 0 || @@ -214,7 +207,6 @@ public class StandardPlugin extends Plugin { && params[1].fractionalPart().signum() == 0; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return OP_NPR.apply(implementation, params).divide(OP_FACTORIAL.apply(implementation, params[1])); @@ -229,7 +221,6 @@ public class StandardPlugin extends Plugin { return params.length == 1; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return params[0].multiply(implementation.instanceForString(Integer.toString(params[0].signum()))); @@ -244,7 +235,6 @@ public class StandardPlugin extends Plugin { return params.length == 1 && params[0].compareTo(implementation.instanceForString("0")) > 0; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { NumberInterface param = params[0]; @@ -325,7 +315,6 @@ public class StandardPlugin extends Plugin { return params.length == 1; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return implementation.instanceForString(Long.toString(Math.round(Math.random() * params[0].floor().intValue()))); @@ -344,7 +333,6 @@ public class StandardPlugin extends Plugin { && !(params[0].signum() == -1 && params[1].fractionalPart().compareTo(zero) != 0); } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { NumberInterface zero = implementation.instanceForString("0"); @@ -371,7 +359,6 @@ public class StandardPlugin extends Plugin { return params.length == 1; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return OP_CARET.apply(implementation, params[0], implementation.instanceForString(".5")); @@ -387,7 +374,6 @@ public class StandardPlugin extends Plugin { return params.length == 1; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { NumberInterface maxError = params[0].getMaxError(); @@ -425,7 +411,6 @@ public class StandardPlugin extends Plugin { return params.length == 1; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { NumberInterface pi = piFor(params[0].getClass()); @@ -450,7 +435,6 @@ public class StandardPlugin extends Plugin { return params.length == 1; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return functionSin.apply(implementation, piFor(params[0].getClass()).divide(implementation.instanceForString("2")) @@ -466,7 +450,6 @@ public class StandardPlugin extends Plugin { return params.length == 1; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return functionSin.apply(implementation, params[0]).divide(functionCos.apply(implementation, params[0])); @@ -481,7 +464,6 @@ public class StandardPlugin extends Plugin { return params.length == 1; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return implementation.instanceForString("1").divide(functionCos.apply(implementation, params[0])); @@ -496,7 +478,6 @@ public class StandardPlugin extends Plugin { return params.length == 1; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return implementation.instanceForString("1").divide(functionSin.apply(implementation, params[0])); @@ -511,7 +492,6 @@ public class StandardPlugin extends Plugin { return params.length == 1; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return functionCos.apply(implementation, params[0]).divide(functionSin.apply(implementation, params[0])); @@ -528,7 +508,6 @@ public class StandardPlugin extends Plugin { && FUNCTION_ABS.apply(implementation, params[0]).compareTo(implementation.instanceForString("1")) <= 0; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { if (FUNCTION_ABS.apply(implementation, params[0]).compareTo(implementation.instanceForString(".8")) >= 0) { @@ -561,7 +540,6 @@ public class StandardPlugin extends Plugin { return params.length == 1 && FUNCTION_ABS.apply(implementation, params[0]).compareTo(implementation.instanceForString("1")) <= 0; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { return piFor(params[0].getClass()).divide(implementation.instanceForString("2")) @@ -578,7 +556,6 @@ public class StandardPlugin extends Plugin { return params.length == 1 && FUNCTION_ABS.apply(implementation, params[0]).compareTo(implementation.instanceForString("1")) >= 0; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { NumberInterface[] reciprocalParamArr = {implementation.instanceForString("1").divide(params[0])}; @@ -595,7 +572,6 @@ public class StandardPlugin extends Plugin { return params.length == 1 && FUNCTION_ABS.apply(implementation, params[0]).compareTo(implementation.instanceForString("1")) >= 0; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { NumberInterface[] reciprocalParamArr = {implementation.instanceForString("1").divide(params[0])}; @@ -612,7 +588,6 @@ public class StandardPlugin extends Plugin { return params.length == 1; } - @Override public NumberInterface applyInternal(NumberImplementation implementation, NumberInterface[] params) { if (params[0].signum() == -1) {