myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r923292 - /myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/CreateComponentAnnotationVisitor.java
Date Mon, 15 Mar 2010 15:32:46 GMT
Author: lofwyr
Date: Mon Mar 15 15:32:46 2010
New Revision: 923292

URL: http://svn.apache.org/viewvc?rev=923292&view=rev
Log:
checkstyle

Modified:
    myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/CreateComponentAnnotationVisitor.java

Modified: myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/CreateComponentAnnotationVisitor.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/CreateComponentAnnotationVisitor.java?rev=923292&r1=923291&r2=923292&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/CreateComponentAnnotationVisitor.java
(original)
+++ myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/CreateComponentAnnotationVisitor.java
Mon Mar 15 15:32:46 2010
@@ -179,16 +179,18 @@ public class CreateComponentAnnotationVi
       StringTemplate componentStringTemplate = componentStringTemplateGroup.getInstanceOf("component");
       ComponentInfo componentInfo 
           = new ComponentInfo(decl.getQualifiedName(), componentTag.uiComponent(), componentTag.rendererType());
-/*      
+      
+/*
       String p = componentTag.uiComponentBaseClass();
       String c = componentTag.uiComponent();
       String m = c.substring(0, 36) + "Abstract" + c.substring(36);
       if (p.equals(m)) {
-        System.out.println("*********** ok   " + c);
+        getEnv().getMessager().printNotice("*********** ok   " + c);
       } else {
-        System.out.println("*********** diff " + c + " " + p);
+        getEnv().getMessager().printNotice("*********** diff " + c + " " + p);
       }
-*/      
+*/
+      
       componentInfo.setSuperClass(componentTag.uiComponentBaseClass());
       componentInfo.setComponentFamily(componentTag.componentFamily());
       componentInfo.setDescription(getDescription(decl));
@@ -421,7 +423,7 @@ public class CreateComponentAnnotationVi
         propertyInfo.setDeprecated(decl.getAnnotation(Deprecated.class) != null);
         propertyInfo.setDescription(getDescription(decl));
         if (properties.containsKey(name)) {
-          System.out.println("Info: Redefinition of attribute '" + name + "'.");
+          getEnv().getMessager().printWarning("Redefinition of attribute '" + name + "'.");
         }
         properties.put(name, propertyInfo);
       }



Mime
View raw message