Revision: 15008
          http://gate.svn.sourceforge.net/gate/?rev=15008&view=rev
Author:   adamfunk
Date:     2012-01-11 10:19:37 +0000 (Wed, 11 Jan 2012)
Log Message:
-----------
Not using toURI() now; for some strange reason URI.getPath() doesn't
work in a jar, but URL.getPath() does.

Modified Paths:
--------------
    gate/trunk/src/gate/Gate.java

Modified: gate/trunk/src/gate/Gate.java
===================================================================
--- gate/trunk/src/gate/Gate.java       2012-01-11 09:39:07 UTC (rev 15007)
+++ gate/trunk/src/gate/Gate.java       2012-01-11 10:19:37 UTC (rev 15008)
@@ -1349,11 +1349,8 @@
       if(name != null) return name;
 
       name = "";
-      try {
-        name = url.toURI().getPath();
-      } catch(URISyntaxException ex) {
-        // ignore, this should have been checked when adding the URL!
-      }
+      name = url.getPath();
+
       if(name.endsWith("/")) {
         name = name.substring(0, name.length() - 1);
       }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to