commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1129064 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java
Date Mon, 30 May 2011 08:51:11 GMT
Author: simonetripodi
Date: Mon May 30 08:51:10 2011
New Revision: 1129064

URL: http://svn.apache.org/viewvc?rev=1129064&view=rev
Log:
fixed checkstyle format violations

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java?rev=1129064&r1=1129063&r2=1129064&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java
Mon May 30 08:51:10 2011
@@ -409,15 +409,18 @@ public final class DigesterLoader
      * @param rules The custom user define {@link Rules} implementation
      * @return a new {@link Digester} instance
      */
-    public Digester newDigester(XMLReader reader, Rules rules) {
-        if (reader == null) {
-            throw new DigesterLoadingException("XMLReader must be not null");
+    public Digester newDigester( XMLReader reader, Rules rules )
+    {
+        if ( reader == null )
+        {
+            throw new DigesterLoadingException( "XMLReader must be not null" );
         }
-        if (rules == null) {
-            throw new DigesterLoadingException("Impossible to create a new Digester with
null Rules");
+        if ( rules == null )
+        {
+            throw new DigesterLoadingException( "Impossible to create a new Digester with
null Rules" );
         }
 
-        Digester digester = new Digester(reader);
+        Digester digester = new Digester( reader );
         digester.setRules( rules );
         digester.setSubstitutor( substitutor );
         digester.registerAll( entityValidator );



Mime
View raw message