openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1681693 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/annotation/AnnotationManager.java
Date Tue, 26 May 2015 07:22:47 GMT
Author: struberg
Date: Tue May 26 07:22:47 2015
New Revision: 1681693

URL: http://svn.apache.org/r1681693
Log:
OWB-821 extract common string

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/annotation/AnnotationManager.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/annotation/AnnotationManager.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/annotation/AnnotationManager.java?rev=1681693&r1=1681692&r2=1681693&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/annotation/AnnotationManager.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/annotation/AnnotationManager.java
Tue May 26 07:22:47 2015
@@ -576,7 +576,7 @@ public final class AnnotationManager
      */
     public Set<Class<? extends Annotation>> getStereotypeMetaAnnotations(Set<Class<?
extends Annotation>> stereotypes)
     {
-        Asserts.assertNotNull(stereotypes, "anns");
+        Asserts.assertNotNull(stereotypes, Asserts.PARAM_NAME_ANNOTATION);
         Set<Class<? extends Annotation>> interAnns = new HashSet<Class<?
extends Annotation>>();
 
         for (Class<? extends Annotation> ann : stereotypes)
@@ -608,7 +608,7 @@ public final class AnnotationManager
      */
     public Set<Class<? extends Annotation>> getStereotypes(Set<Class<?
extends Annotation>> anns)
     {
-        Asserts.assertNotNull(anns, "bean");
+        Asserts.assertNotNull(anns, Asserts.PARAM_NAME_ANNOTATION);
         if (hasStereoTypeMetaAnnotation(anns))
         {
             return getStereotypeMetaAnnotations(anns);



Mime
View raw message