Sfoglia il codice sorgente

Ajout constructeur dans factory

Arthur Brandao 6 anni fa
parent
commit
f665713210
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/migl/lisp/LispFactory.java

+ 1 - 1
src/migl/lisp/LispFactory.java

@@ -18,6 +18,6 @@ public class LispFactory {
      * @return a new lisp interpreter.
      */
     public static Lisp makeIntepreter() {
-        throw new UnsupportedOperationException();
+        return new LispImpl();
     }
 }