tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcombell...@apache.org
Subject svn commit: r656230 - in /incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/core: DefaultExtensionPointRegistry.java DefaultUtilityExtensionPoint.java
Date Wed, 14 May 2008 10:37:50 GMT
Author: mcombellack
Date: Wed May 14 03:37:50 2008
New Revision: 656230

URL: http://svn.apache.org/viewvc?rev=656230&view=rev
Log:
Corrected the placement of the [] on the array type for be consistent with the recommendations
from the Java Language Specification

Modified:
    incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/core/DefaultExtensionPointRegistry.java
    incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/core/DefaultUtilityExtensionPoint.java

Modified: incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/core/DefaultExtensionPointRegistry.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/core/DefaultExtensionPointRegistry.java?rev=656230&r1=656229&r2=656230&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/core/DefaultExtensionPointRegistry.java
(original)
+++ incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/core/DefaultExtensionPointRegistry.java
Wed May 14 03:37:50 2008
@@ -68,7 +68,7 @@
     
     private Constructor<?> getConstructor(Constructor<?>[] constructors, Class<?>[]
paramTypes) {
         for (Constructor<?> c : constructors) {
-            Class<?> types[] = c.getParameterTypes();
+            Class<?>[] types = c.getParameterTypes();
             if (c.getParameterTypes().length == paramTypes.length) {
                 boolean found = true;
                 for (int i = 0; i < types.length; i++) {

Modified: incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/core/DefaultUtilityExtensionPoint.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/core/DefaultUtilityExtensionPoint.java?rev=656230&r1=656229&r2=656230&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/core/DefaultUtilityExtensionPoint.java
(original)
+++ incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/core/DefaultUtilityExtensionPoint.java
Wed May 14 03:37:50 2008
@@ -68,7 +68,7 @@
     
     private Constructor<?> getConstructor(Constructor<?>[] constructors, Class<?>[]
paramTypes) {
         for (Constructor<?> c : constructors) {
-            Class<?> types[] = c.getParameterTypes();
+            Class<?>[] types = c.getParameterTypes();
             if (c.getParameterTypes().length == paramTypes.length) {
                 boolean found = true;
                 for (int i = 0; i < types.length; i++) {



Mime
View raw message