瀏覽代碼

Correction problemes LispElement

Arthur Brandao 6 年之前
父節點
當前提交
177e74f555
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/migl/lisp/util/LispElement.java

+ 2 - 2
src/migl/lisp/util/LispElement.java

@@ -65,7 +65,7 @@ public class LispElement {
 			//Rien
 		}
 		try {
-			return new LispElement(Double.valueOf(elt));
+			return new LispElement(Double.parseDouble(elt));
 		} catch(NumberFormatException ex) {
 			//Rien
 		}
@@ -83,7 +83,7 @@ public class LispElement {
 	 *
 	 * @param <E> Le type de l'element
 	 */
-	public class LispElementValue<E> {
+	public static class LispElementValue<E> {
 
 		public final E value;