Browse Source

Amélioration code

Arthur Brandao 6 years ago
parent
commit
87ace5728f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/migl/lisp/LispEval.java

+ 1 - 2
src/migl/lisp/LispEval.java

@@ -16,8 +16,7 @@ public class LispEval {
 	 */
 	
 	private static Map<String, LispOperator> operators = new HashMap<>();
-	
-	public static void setupOperators() {
+	static {
 		operators.put("not", (lisp) -> {
 			if(lisp.size() != 1) {
 				throw new LispError("Incorrect number of argument");