commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r638921 - in /commons/proper/lang/branches/LANG_POST_2_4/src: java/org/apache/commons/lang/ java/org/apache/commons/lang/reflect/ test/org/apache/commons/lang/ test/org/apache/commons/lang/reflect/
Date Wed, 19 Mar 2008 16:25:11 GMT
Author: mbenson
Date: Wed Mar 19 09:25:00 2008
New Revision: 638921

URL: http://svn.apache.org/viewvc?rev=638921&view=rev
Log:
move MethodUtils/ConstructorUtils(/MemberUtils) to oacl.reflect

Added:
    commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/
    commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/ConstructorUtils.java
      - copied, changed from r638851, commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/ConstructorUtils.java
    commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/MemberUtils.java
      - copied, changed from r638850, commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/MemberUtils.java
    commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/MethodUtils.java
      - copied, changed from r638851, commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/MethodUtils.java
    commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/reflect/
    commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/reflect/ConstructorUtilsTest.java
      - copied, changed from r638850, commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/ConstructorUtilsTest.java
    commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/reflect/MethodUtilsTest.java
      - copied, changed from r638850, commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/MethodUtilsTest.java
Removed:
    commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/ConstructorUtils.java
    commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/MemberUtils.java
    commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/MethodUtils.java
    commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/ConstructorUtilsTest.java
    commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/MethodUtilsTest.java
Modified:
    commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/LangTestSuite.java

Copied: commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/ConstructorUtils.java
(from r638851, commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/ConstructorUtils.java)
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/ConstructorUtils.java?p2=commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/ConstructorUtils.java&p1=commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/ConstructorUtils.java&r1=638851&r2=638921&rev=638921&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/ConstructorUtils.java
(original)
+++ commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/ConstructorUtils.java
Wed Mar 19 09:25:00 2008
@@ -14,12 +14,14 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package org.apache.commons.lang;
+package org.apache.commons.lang.reflect;
 
 import java.lang.reflect.Constructor;
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Modifier;
+
+import org.apache.commons.lang.ArrayUtils;
+import org.apache.commons.lang.ClassUtils;
 
 /**
  * <p> Utility reflection methods focussed on constructors, modelled after {@link MethodUtils}.
</p>

Copied: commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/MemberUtils.java
(from r638850, commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/MemberUtils.java)
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/MemberUtils.java?p2=commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/MemberUtils.java&p1=commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/MemberUtils.java&r1=638850&r2=638921&rev=638921&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/MemberUtils.java
(original)
+++ commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/MemberUtils.java
Wed Mar 19 09:25:00 2008
@@ -14,12 +14,16 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.lang;
+package org.apache.commons.lang.reflect;
 
 import java.lang.reflect.AccessibleObject;
 import java.lang.reflect.Member;
 import java.lang.reflect.Method;
 import java.lang.reflect.Modifier;
+
+import org.apache.commons.lang.ArrayUtils;
+import org.apache.commons.lang.ClassUtils;
+import org.apache.commons.lang.SystemUtils;
 
 /**
  * Contains common code for working with Methods/Constructors, extracted and

Copied: commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/MethodUtils.java
(from r638851, commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/MethodUtils.java)
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/MethodUtils.java?p2=commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/MethodUtils.java&p1=commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/MethodUtils.java&r1=638851&r2=638921&rev=638921&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/MethodUtils.java
(original)
+++ commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/reflect/MethodUtils.java
Wed Mar 19 09:25:00 2008
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.lang;
+package org.apache.commons.lang.reflect;
 
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
@@ -22,6 +22,9 @@
 
 import java.util.Arrays;
 import java.util.WeakHashMap;
+
+import org.apache.commons.lang.ArrayUtils;
+import org.apache.commons.lang.ClassUtils;
 
 /**
  * <p> Utility reflection methods focused on methods, originally from Commons BeanUtils.

Modified: commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/LangTestSuite.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/LangTestSuite.java?rev=638921&r1=638920&r2=638921&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/LangTestSuite.java
(original)
+++ commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/LangTestSuite.java
Wed Mar 19 09:25:00 2008
@@ -16,6 +16,9 @@
  */
 package org.apache.commons.lang;
 
+import org.apache.commons.lang.reflect.ConstructorUtilsTest;
+import org.apache.commons.lang.reflect.MethodUtilsTest;
+
 import junit.framework.Test;
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
@@ -62,6 +65,7 @@
         suite.addTest(CharSetUtilsTest.suite());
         suite.addTest(CharUtilsTest.suite());
         suite.addTest(ClassUtilsTest.suite());
+        suite.addTest(ConstructorUtilsTest.suite());
         suite.addTest(EntitiesTest.suite());
         suite.addTest(IllegalClassExceptionTest.suite());
         suite.addTest(IncompleteArgumentExceptionTest.suite());

Copied: commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/reflect/ConstructorUtilsTest.java
(from r638850, commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/ConstructorUtilsTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/reflect/ConstructorUtilsTest.java?p2=commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/reflect/ConstructorUtilsTest.java&p1=commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/ConstructorUtilsTest.java&r1=638850&r2=638921&rev=638921&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/ConstructorUtilsTest.java
(original)
+++ commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/reflect/ConstructorUtilsTest.java
Wed Mar 19 09:25:00 2008
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.lang;
+package org.apache.commons.lang.reflect;
 
 import java.lang.reflect.Constructor;
 import java.util.Arrays;
@@ -25,6 +25,7 @@
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
+import org.apache.commons.lang.ArrayUtils;
 import org.apache.commons.lang.math.NumberUtils;
 
 /**

Copied: commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/reflect/MethodUtilsTest.java
(from r638850, commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/MethodUtilsTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/reflect/MethodUtilsTest.java?p2=commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/reflect/MethodUtilsTest.java&p1=commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/MethodUtilsTest.java&r1=638850&r2=638921&rev=638921&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/MethodUtilsTest.java
(original)
+++ commons/proper/lang/branches/LANG_POST_2_4/src/test/org/apache/commons/lang/reflect/MethodUtilsTest.java
Wed Mar 19 09:25:00 2008
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.lang;
+package org.apache.commons.lang.reflect;
 
 import java.lang.reflect.Method;
 import java.util.Arrays;
@@ -25,6 +25,7 @@
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
+import org.apache.commons.lang.ArrayUtils;
 import org.apache.commons.lang.math.NumberUtils;
 import org.apache.commons.lang.mutable.Mutable;
 import org.apache.commons.lang.mutable.MutableObject;



Mime
View raw message