abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r427186 - /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java
Date Mon, 31 Jul 2006 17:52:54 GMT
Author: jmsnell
Date: Mon Jul 31 10:52:54 2006
New Revision: 427186

URL: http://svn.apache.org/viewvc?rev=427186&view=rev
Log:
Remove unnecessary complexity from the getFomFactory method

Modified:
    incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java?rev=427186&r1=427185&r2=427186&view=diff
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java
Mon Jul 31 10:52:54 2006
@@ -146,8 +146,8 @@
  
   private FOMFactory getFomFactory() {
     FOMFactory factory = 
-      (parserOptions != null && parserOptions.getFactory() != null) ? 
-      (FOMFactory)parserOptions.getFactory() : null;
+      (parserOptions != null) ? 
+        (FOMFactory)parserOptions.getFactory() : null;
     if (factory == null)
       factory = (Factory.INSTANCE instanceof FOMFactory) ? 
           (FOMFactory)Factory.INSTANCE : new FOMFactory();



Mime
View raw message