Update of /cvsroot/nice/Nice/src/bossa/link
In directory sc8-pr-cvs1:/tmp/cvs-serv20812/src/bossa/link
Modified Files:
ImportedAlternative.java
Log Message:
Refactored bossa.util.Location, to provide a higher-level view on locations,
using several subclasses for the different cases.
Index: ImportedAlternative.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/link/ImportedAlternative.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ImportedAlternative.java 18 Apr 2003 14:50:27 -0000 1.4
--- ImportedAlternative.java 24 Jun 2003 15:28:19 -0000 1.5
***************
*** 93,97 ****
LocatedString methodName = new LocatedString
(fullName.substring(JavaMethod.fullNamePrefix.length(), end),
! bossa.util.Location.nowhereAtAll());
List methods = bossa.syntax.Node.getGlobalScope().lookup(methodName);
--- 93,97 ----
LocatedString methodName = new LocatedString
(fullName.substring(JavaMethod.fullNamePrefix.length(), end),
! bossa.util.Location.nowhere());
List methods = bossa.syntax.Node.getGlobalScope().lookup(methodName);
|