db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r219573 - /incubator/jdo/trunk/core20/src/java/org/apache/jdo/impl/model/java/reflection/ReflectionJavaTypeIntrospector.java
Date Mon, 18 Jul 2005 21:45:32 GMT
Author: mbo
Date: Mon Jul 18 14:43:41 2005
New Revision: 219573

URL: http://svn.apache.org/viewcvs?rev=219573&view=rev
Log:
Fixed typo, method modifier and NOI18N comments

Modified:
    incubator/jdo/trunk/core20/src/java/org/apache/jdo/impl/model/java/reflection/ReflectionJavaTypeIntrospector.java

Modified: incubator/jdo/trunk/core20/src/java/org/apache/jdo/impl/model/java/reflection/ReflectionJavaTypeIntrospector.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/core20/src/java/org/apache/jdo/impl/model/java/reflection/ReflectionJavaTypeIntrospector.java?rev=219573&r1=219572&r2=219573&view=diff
==============================================================================
--- incubator/jdo/trunk/core20/src/java/org/apache/jdo/impl/model/java/reflection/ReflectionJavaTypeIntrospector.java
(original)
+++ incubator/jdo/trunk/core20/src/java/org/apache/jdo/impl/model/java/reflection/ReflectionJavaTypeIntrospector.java
Mon Jul 18 14:43:41 2005
@@ -87,7 +87,7 @@
      * @return array of PropertyDescriptor instances for declared public
      * properties.
      */
-    public PropertyDescriptor[] getPublicPropertyDescriptors(Class clazz) {
+    private PropertyDescriptor[] getPublicPropertyDescriptors(Class clazz) {
         try {
             BeanInfo beanInfo = Introspector.getBeanInfo(
                 clazz, clazz.getSuperclass());
@@ -108,7 +108,7 @@
      * @return array of PropertyDescriptor instances for declared public and
      * protected properties.
      */
-    public PropertyDescriptor[] getPublicAndProtectedPropertyDescriptors(
+    private PropertyDescriptor[] getPublicAndProtectedPropertyDescriptors(
         Class clazz) {
         return new PropertyStore(clazz).getPropertyDescriptors();
     }
@@ -118,7 +118,7 @@
      * The class provides a public method {@link #getPropertyDescriptors()}
      * returning an array of PropertyDescriptors. Each PropertyDescriptor 
      * represents a public or protected property of the class specified as
-     * constructor argument. This code is inpired by the implementation
+     * constructor argument. This code is inspired by the implementation
      * of java.beans.Introspector class. 
      * <p>
      * Class PropertyStore uses the following algorithm to identify the
@@ -144,11 +144,11 @@
     static class PropertyStore extends HashMap {
 
         private static final String GET_PREFIX = "get";    //NOI18N
-        private static final int    GET_PREFIX_LENGTH = 3; //NOI18N
+        private static final int    GET_PREFIX_LENGTH = 3;
         private static final String SET_PREFIX = "set";    //NOI18N
-        private static final int    SET_PREFIX_LENGTH = 3; //NOI18N
+        private static final int    SET_PREFIX_LENGTH = 3;
         private static final String IS_PREFIX = "is";      //NOI18N
-        private static final int    IS_PREFIX_LENGTH = 2;  //NOI18N
+        private static final int    IS_PREFIX_LENGTH = 2;
 
         /** The declared method instances for the specified class. */
         private final Method[] declaredMethods;
@@ -387,6 +387,6 @@
             return setter;
         }
     }
-
+    
 }
 



Mime
View raw message