abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r429471 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParser.java
Date Mon, 07 Aug 2006 20:46:58 GMT
Author: jmsnell
Date: Mon Aug  7 13:46:57 2006
New Revision: 429471

URL: http://svn.apache.org/viewvc?rev=429471&view=rev
Log:
Fix an NPE

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParser.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParser.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParser.java?rev=429471&r1=429470&r2=429471&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParser.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParser.java
Mon Aug  7 13:46:57 2006
@@ -58,7 +58,7 @@
     ParserOptions options) 
       throws ParseException, 
              URISyntaxException {
-    return parse(in, new URI(base), options);
+    return parse(in, (base != null) ? new URI(base) : null, options);
   }
   
   public <T extends Element>Document<T> parse(



Mime
View raw message