commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r992084 - /commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/DigesterLoader.java
Date Thu, 02 Sep 2010 19:52:17 GMT
Author: simonetripodi
Date: Thu Sep  2 19:52:17 2010
New Revision: 992084

URL: http://svn.apache.org/viewvc?rev=992084&view=rev
Log:
fixed checkstyle warning "Line is longer than 120 characters."

Modified:
    commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/DigesterLoader.java

Modified: commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/DigesterLoader.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/DigesterLoader.java?rev=992084&r1=992083&r2=992084&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/DigesterLoader.java
(original)
+++ commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/DigesterLoader.java
Thu Sep  2 19:52:17 2010
@@ -182,7 +182,9 @@ public final class DigesterLoader {
      * @param element the current visited element.
      */
     @SuppressWarnings("unchecked")
-    private <A extends Annotation, E extends AnnotatedElement, R extends Rule> void
handle(A annotation, E element, FromAnnotationsRuleSet ruleSet) {
+    private <A extends Annotation, E extends AnnotatedElement, R extends Rule> void
handle(A annotation,
+            E element,
+            FromAnnotationsRuleSet ruleSet) {
         Class<?> annotationType = annotation.annotationType();
 
         // check if it is one of the @*.List annotation
@@ -198,7 +200,8 @@ public final class DigesterLoader {
             DigesterRule digesterRule = annotationType.getAnnotation(DigesterRule.class);
 
             if (DefaultLoaderHandler.class == digesterRule.handledBy()) {
-                Class<? extends AnnotationRuleProvider<A, E, R>> providerType
= (Class<? extends AnnotationRuleProvider<A, E, R>>) digesterRule.providedBy();
+                Class<? extends AnnotationRuleProvider<A, E, R>> providerType
=
+                    (Class<? extends AnnotationRuleProvider<A, E, R>>) digesterRule.providedBy();
                 ruleSet.addRuleProvider(AnnotationUtils.getAnnotationPattern(annotation),
                         providerType,
                         annotation,



Mime
View raw message