mirror of
https://github.com/DanilaFe/abacus
synced 2024-12-23 16:00:09 -08:00
Remove backslashes that will be obsolete.
This commit is contained in:
parent
381c88f7a0
commit
d2b27da528
|
@ -23,7 +23,7 @@ public class StandardPlugin extends Plugin {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
registerOperator("\\+", new Operator(OperatorAssociativity.LEFT, 0, new Function() {
|
registerOperator("+", new Operator(OperatorAssociativity.LEFT, 0, new Function() {
|
||||||
@Override
|
@Override
|
||||||
protected boolean matchesParams(NumberInterface[] params) {
|
protected boolean matchesParams(NumberInterface[] params) {
|
||||||
return params.length >= 1;
|
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
|
@Override
|
||||||
protected boolean matchesParams(NumberInterface[] params) {
|
protected boolean matchesParams(NumberInterface[] params) {
|
||||||
return params.length >= 1;
|
return params.length >= 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user