From d2b27da5282361b9d14f9f2a01972696d1a714e6 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Thu, 27 Jul 2017 15:02:13 -0700 Subject: [PATCH] Remove backslashes that will be obsolete. --- src/org/nwapw/abacus/plugin/StandardPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/nwapw/abacus/plugin/StandardPlugin.java b/src/org/nwapw/abacus/plugin/StandardPlugin.java index bd410cd..e93f546 100755 --- a/src/org/nwapw/abacus/plugin/StandardPlugin.java +++ b/src/org/nwapw/abacus/plugin/StandardPlugin.java @@ -23,7 +23,7 @@ public class StandardPlugin extends Plugin { @Override public void onEnable() { - registerOperator("\\+", new Operator(OperatorAssociativity.LEFT, 0, new Function() { + registerOperator("+", new Operator(OperatorAssociativity.LEFT, 0, new Function() { @Override protected boolean matchesParams(NumberInterface[] params) { return params.length >= 1; @@ -51,7 +51,7 @@ public class StandardPlugin extends Plugin { } })); - registerOperator("\\*", new Operator(OperatorAssociativity.LEFT, 1, new Function() { + registerOperator("*", new Operator(OperatorAssociativity.LEFT, 1, new Function() { @Override protected boolean matchesParams(NumberInterface[] params) { return params.length >= 1;