abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r441214 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParser.java
Date Thu, 07 Sep 2006 20:36:47 GMT
Author: jmsnell
Date: Thu Sep  7 13:36:46 2006
New Revision: 441214

URL: http://svn.apache.org/viewvc?view=rev&rev=441214
Log:
Make the Abdera instance in AbstractParser immutable

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?view=diff&rev=441214&r1=441213&r2=441214
==============================================================================
--- 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
Thu Sep  7 13:36:46 2006
@@ -33,10 +33,10 @@
 public abstract class AbstractParser 
   implements Parser {
 
-  protected Abdera abdera = null;
+  protected final Abdera abdera;
   
   protected AbstractParser() {
-    this.abdera = new Abdera();
+    this(new Abdera());
   }
   
   protected AbstractParser(Abdera abdera) {



Mime
View raw message