abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r555829 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractExtensionFactory.java
Date Fri, 13 Jul 2007 00:52:03 GMT
Author: jmsnell
Date: Thu Jul 12 17:52:02 2007
New Revision: 555829

URL: http://svn.apache.org/viewvc?view=rev&rev=555829
Log:
Bah... silly bugs.

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

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractExtensionFactory.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractExtensionFactory.java?view=diff&rev=555829&r1=555828&r2=555829
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractExtensionFactory.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractExtensionFactory.java
Thu Jul 12 17:52:02 2007
@@ -54,7 +54,7 @@
             new Object[] {internal});
       } catch (Exception e) {}
     }
-    return t;
+    return t != null ? t : (T)internal;
   }
 
   protected void addMimeType(QName qname, String mimetype) {



Mime
View raw message