[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-commit] r2339 - jetty/branches/jetty-8/jetty-annotations/src/main/java/org/eclipse/jetty/annotations

Author: jbartel
Date: 2010-10-11 02:58:46 -0400 (Mon, 11 Oct 2010)
New Revision: 2339

Modified:
   jetty/branches/jetty-8/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ContainerInitializerAnnotationHandler.java
Log:
327416 also add in validity on fields after email from Rajiv, JSR315 spec lead

Modified: jetty/branches/jetty-8/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ContainerInitializerAnnotationHandler.java
===================================================================
--- jetty/branches/jetty-8/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ContainerInitializerAnnotationHandler.java	2010-10-11 05:41:41 UTC (rev 2338)
+++ jetty/branches/jetty-8/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ContainerInitializerAnnotationHandler.java	2010-10-11 06:58:46 UTC (rev 2339)
@@ -55,7 +55,7 @@
     public void handleField(String className, String fieldName, int access, String fieldType, String signature, Object value, String annotation,
                             List<Value> values)
     {
-        //Not valid on fields
+       _initializer.addAnnotatedTypeName(className);
     }
 
     public void handleMethod(String className, String methodName, int access, String params, String signature, String[] exceptions, String annotation,