diff --git a/src/fr/inrialpes/exmo/align/parser/AlignmentParser.java b/src/fr/inrialpes/exmo/align/parser/AlignmentParser.java index ce0a5cc4857062d5489a7ec795c613f52b3ddbb3..34628dd2e766bbc9eb352780ce557980df54d899 100644 --- a/src/fr/inrialpes/exmo/align/parser/AlignmentParser.java +++ b/src/fr/inrialpes/exmo/align/parser/AlignmentParser.java @@ -61,11 +61,6 @@ import fr.inrialpes.exmo.align.impl.Annotations; public class AlignmentParser { final static Logger logger = LoggerFactory.getLogger( AlignmentParser.class ); - /** - * a URI to a process - */ - protected String uri = null; - /** * the alignment that is parsed * We always create a URIAlignment (we could also use a BasicAlignment). @@ -195,10 +190,9 @@ public class AlignmentParser { * This is only here for compatibility purposes */ public Alignment parse( String uri ) throws AlignmentException { - this.uri = uri; // should be obsoloted try { callParser( new URI( uri ) ); - } catch (URISyntaxException urisex) { + } catch ( URISyntaxException urisex ) { throw new AlignmentException( "Invalid URI : "+uri, urisex ); } return alignment; @@ -209,7 +203,6 @@ public class AlignmentParser { * @param uri the URI */ public Alignment parse( URI uri ) throws AlignmentException { - this.uri = uri.toString(); callParser( uri ); return alignment; }