logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Nice/src/bossa/util Location.java,1.25,1.26: msg#00104

Subject: Nice/src/bossa/util Location.java,1.25,1.26
Update of /cvsroot/nice/Nice/src/bossa/util
In directory sc8-pr-cvs1:/tmp/cvs-serv3351/src/bossa/util

Modified Files:
        Location.java 
Log Message:
Check that calls to protected Java methods are valid access-wise.


Index: Location.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/util/Location.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** Location.java       24 Jun 2003 21:39:45 -0000      1.25
--- Location.java       25 Aug 2003 18:09:10 -0000      1.26
***************
*** 218,221 ****
--- 218,229 ----
    }
      
+   public static Location make(gnu.expr.Expression expr)
+   {
+     String file = expr.getFile();
+     return new Source(file != null ? new java.io.File(file) : null,
+                       expr.getLine(), expr.getColumn(),
+                       -1, -1);
+   }
+ 
    /****************************************************************
     * A compilation option




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0


<Prev in Thread] Current Thread [Next in Thread>