cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r934186 - /cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/ToRewrite.java
Date Wed, 14 Apr 2010 20:36:17 GMT
Author: simonetripodi
Date: Wed Apr 14 20:36:17 2010
New Revision: 934186

URL: http://svn.apache.org/viewvc?rev=934186&view=rev
Log:
no need to initialize the map in the constructor

Modified:
    cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/ToRewrite.java

Modified: cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/ToRewrite.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/ToRewrite.java?rev=934186&r1=934185&r2=934186&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/ToRewrite.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/ToRewrite.java
Wed Apr 14 20:36:17 2010
@@ -25,11 +25,7 @@ import java.util.Set;
 
 public final class ToRewrite {
 
-    final private Map<Element, Set<Element>> elements;
-
-    public ToRewrite() {
-        elements = new HashMap<Element, Set<Element>>();
-    }
+    final private Map<Element, Set<Element>> elements = new HashMap<Element,
Set<Element>>();
 
     public void addElement(String elementNamespace,
             String elementName,



Mime
View raw message