openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1646816 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/PriorityClasses.java
Date Fri, 19 Dec 2014 18:41:30 GMT
Author: rmannibucau
Date: Fri Dec 19 18:41:30 2014
New Revision: 1646816

URL: http://svn.apache.org/r1646816
Log:
modifying PriorityClasses raw classes means invalidating sorted value

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/PriorityClasses.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/PriorityClasses.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/PriorityClasses.java?rev=1646816&r1=1646815&r2=1646816&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/PriorityClasses.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/PriorityClasses.java
Fri Dec 19 18:41:30 2014
@@ -37,6 +37,7 @@ public class PriorityClasses
     public void add(final Class<?> clazz, final Priority priority)
     {
         raw.add(new PriorityClass(clazz, priority.value()));
+        sorted = null;
     }
 
     public List<Class<?>> getSorted()



Mime
View raw message