Revision: 14899
          http://gate.svn.sourceforge.net/gate/?rev=14899&view=rev
Author:   markagreenwood
Date:     2012-01-06 09:39:51 +0000 (Fri, 06 Jan 2012)
Log Message:
-----------
don't dereferece the sourceURL incase we are building from a string

Modified Paths:
--------------
    gate/trunk/src/gate/corpora/XmlDocumentFormat.java

Modified: gate/trunk/src/gate/corpora/XmlDocumentFormat.java
===================================================================
--- gate/trunk/src/gate/corpora/XmlDocumentFormat.java  2012-01-06 07:36:34 UTC 
(rev 14898)
+++ gate/trunk/src/gate/corpora/XmlDocumentFormat.java  2012-01-06 09:39:51 UTC 
(rev 14899)
@@ -338,7 +338,7 @@
     }
     catch(IOException e) {
       throw new DocumentFormatException("I/O exception for "
-              + doc.getSourceUrl().toString(), e);
+              + doc.getSourceUrl(), e);
     }
     finally {
       if(xmlDocHandler != null)

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