move a file back
[fw/altos] / altosui / altoslib / src / org / altusmetrum / AltosLib / AltosParse.java
index fbfcaaee7493c86275c0184c1ecfcdf900edd6a2..4c0a59cb57570d1e84efe63ebdeb90b3e4b8be5b 100644 (file)
@@ -15,7 +15,7 @@
  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
-package altosui;
+package org.altusmetrum.AltosLib;
 
 import java.text.*;
 import java.lang.*;
@@ -27,7 +27,7 @@ public class AltosParse {
 
        static int parse_int(String v) throws ParseException {
                try {
-                       return Altos.fromdec(v);
+                       return AltosLib.fromdec(v);
                } catch (NumberFormatException e) {
                        throw new ParseException("error parsing int " + v, 0);
                }
@@ -35,7 +35,7 @@ public class AltosParse {
 
        static int parse_hex(String v) throws ParseException {
                try {
-                       return Altos.fromhex(v);
+                       return AltosLib.fromhex(v);
                } catch (NumberFormatException e) {
                        throw new ParseException("error parsing hex " + v, 0);
                }