Эх сурвалжийг харах

Correction problemes LispElement

Arthur Brandao 6 жил өмнө
parent
commit
177e74f555

+ 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;