You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2012/12/31 11:29:53 UTC
svn commit: r1427072 -
/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/locator/PriorityBasedOMMetaFactoryLocator.java
Author: veithen
Date: Mon Dec 31 10:29:53 2012
New Revision: 1427072
URL: http://svn.apache.org/viewvc?rev=1427072&view=rev
Log:
Removed unnecessary cast.
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/locator/PriorityBasedOMMetaFactoryLocator.java
Modified: webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/locator/PriorityBasedOMMetaFactoryLocator.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/locator/PriorityBasedOMMetaFactoryLocator.java?rev=1427072&r1=1427071&r2=1427072&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/locator/PriorityBasedOMMetaFactoryLocator.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/locator/PriorityBasedOMMetaFactoryLocator.java Mon Dec 31 10:29:53 2012
@@ -44,7 +44,7 @@ class PriorityBasedOMMetaFactoryLocator
String name = feature.getName();
int priority = feature.getPriority();
Integer highestPriority = (Integer)priorityMap.get(name);
- if (highestPriority == null || priority > ((Integer)highestPriority).intValue()) {
+ if (highestPriority == null || priority > highestPriority.intValue()) {
priorityMap.put(name, Integer.valueOf(priority));
factories.put(name, implementation.getMetaFactory());
}