commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r992091 - /commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/handlers/MethodHandler.java
Date Thu, 02 Sep 2010 19:58:12 GMT
Author: simonetripodi
Date: Thu Sep  2 19:58:12 2010
New Revision: 992091

URL: http://svn.apache.org/viewvc?rev=992091&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/handlers/MethodHandler.java

Modified: commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/handlers/MethodHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/handlers/MethodHandler.java?rev=992091&r1=992090&r2=992091&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/handlers/MethodHandler.java
(original)
+++ commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/handlers/MethodHandler.java
Thu Sep  2 19:58:12 2010
@@ -106,13 +106,18 @@ public final class MethodHandler impleme
     }
 
     @SuppressWarnings("unchecked")
-    private <A extends Annotation, R extends Rule> void doHandle(A methodAnnotation,
Annotation annotation, Method method, Class<?> type, FromAnnotationsRuleSet ruleSet)
{
+    private <A extends Annotation, R extends Rule> void doHandle(A methodAnnotation,
+            Annotation annotation,
+            Method method,
+            Class<?> type,
+            FromAnnotationsRuleSet ruleSet) {
         if (annotation.annotationType().isAnnotationPresent(DigesterRule.class)
                 && annotation.annotationType().isAnnotationPresent(CreationRule.class))
{
             ruleSet.addRules(type);
 
             DigesterRule digesterRule = methodAnnotation.annotationType().getAnnotation(DigesterRule.class);
-            Class<? extends AnnotationRuleProvider<A, Method, R>> providerType
= (Class<? extends AnnotationRuleProvider<A, Method, R>>) digesterRule.providedBy();
+            Class<? extends AnnotationRuleProvider<A, Method, R>> providerType
=
+                (Class<? extends AnnotationRuleProvider<A, Method, R>>) digesterRule.providedBy();
             ruleSet.addRuleProvider(AnnotationUtils.getAnnotationPattern(annotation),
                     providerType,
                     methodAnnotation,



Mime
View raw message