axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r610805 - in /webservices/axis2/trunk/java/modules: adb/src/org/apache/axis2/databinding/utils/ kernel/src/org/apache/axis2/deployment/util/ kernel/src/org/apache/axis2/description/java2wsdl/ kernel/test/org/apache/axis2/deployment/util/
Date Thu, 10 Jan 2008 14:40:31 GMT
Author: dims
Date: Thu Jan 10 06:40:30 2008
New Revision: 610805

URL: http://svn.apache.org/viewvc?rev=610805&view=rev
Log:
Fix spelling

Modified:
    webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/BeanExcludeInfo.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DocLitBareSchemaGenerator.java
    webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/util/BeanExcludeInfoTest.java
    webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/util/ExcludeInfoTest.java

Modified: webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java?rev=610805&r1=610804&r2=610805&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java
(original)
+++ webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java
Thu Jan 10 06:40:30 2008
@@ -56,7 +56,6 @@
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Locale;
-import java.util.Map;
 
 
 public class BeanUtil {
@@ -123,7 +122,7 @@
             for (int i = 0; i < properties.length; i++) {
                 JProperty property = properties[i];
                 String propertyName = getCorrectName(property.getSimpleName());
-                if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcluedProperty(propertyName)){
+                if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcludedProperty(propertyName)){
                     propertyList.add(property);
                 }
 
@@ -138,7 +137,7 @@
                 for (int i = 0; i < properties.length; i++) {
                     JProperty property = properties[i];
                     String propertyName = getCorrectName(property.getSimpleName());
-                    if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcluedProperty(propertyName))
{
+                    if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcludedProperty(propertyName))
{
                         propertyList.add(property);
                     }
                 }

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/BeanExcludeInfo.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/BeanExcludeInfo.java?rev=610805&r1=610804&r2=610805&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/BeanExcludeInfo.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/BeanExcludeInfo.java
Thu Jan 10 06:40:30 2008
@@ -15,8 +15,6 @@
  */
 package org.apache.axis2.deployment.util;
 
-import java.util.Locale;
-
 /**
  * this class is used to keep the excludeProperties and includePropertes
  * of the given bean when generating the wsdl, and serializing.
@@ -56,7 +54,7 @@
      * @param property
      * @return is exclude the property or not
      */
-    public boolean isExcluedProperty(String property){
+    public boolean isExcludedProperty(String property){
        boolean isExclude = false;
        if ((excludeProperties != null) && (excludeProperties.trim().length() >
0)){
            if (property.matches(excludeProperties)){

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java?rev=610805&r1=610804&r2=610805&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
Thu Jan 10 06:40:30 2008
@@ -511,7 +511,7 @@
             for (int i = 0; i < tempProperties.length; i++) {
                 JProperty tempProperty = tempProperties[i];
                 String propertyName = getCorrectName(tempProperty.getSimpleName());
-                if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcluedProperty(propertyName)){
+                if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcludedProperty(propertyName)){
                     propertiesSet.add(tempProperty);
                 }
             }
@@ -544,7 +544,7 @@
                         continue;
                     }
                     String propertyName = getCorrectName(tempFields[i].getSimpleName());
-                    if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcluedProperty(propertyName))
{
+                    if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcludedProperty(propertyName))
{
                         // skip field with same name as a property
                         if (!propertiesNames.contains(tempFields[i].getSimpleName())) {
 

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DocLitBareSchemaGenerator.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DocLitBareSchemaGenerator.java?rev=610805&r1=610804&r2=610805&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DocLitBareSchemaGenerator.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DocLitBareSchemaGenerator.java
Thu Jan 10 06:40:30 2008
@@ -414,7 +414,7 @@
             for (int i = 0; i < tempProperties.length; i++) {
                 JProperty tempProperty = tempProperties[i];
                 String propertyName = getCorrectName(tempProperty.getSimpleName());
-                if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcluedProperty(propertyName)){
+                if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcludedProperty(propertyName)){
                     propertiesSet.add(tempProperty);
                 }
             }
@@ -448,7 +448,7 @@
                         continue;
                     }
                     String propertyName = getCorrectName(tempFields[i].getSimpleName());
-                    if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcluedProperty(propertyName))
{
+                    if ((beanExcludeInfo == null) || !beanExcludeInfo.isExcludedProperty(propertyName))
{
                         // skip field with same name as a property
                         if (!propertiesNames.contains(tempFields[i].getSimpleName())) {
 

Modified: webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/util/BeanExcludeInfoTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/util/BeanExcludeInfoTest.java?rev=610805&r1=610804&r2=610805&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/util/BeanExcludeInfoTest.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/util/BeanExcludeInfoTest.java
Thu Jan 10 06:40:30 2008
@@ -22,8 +22,8 @@
 
     public void testIsExcludedProperty(){
         BeanExcludeInfo beanExcludeInfo = new BeanExcludeInfo("[A-z]*String|DayPhoneTTY","DayPhoneTTYString");
-        assertTrue(beanExcludeInfo.isExcluedProperty("DetailsString"));
-        assertFalse(beanExcludeInfo.isExcluedProperty("DayPhoneTTYString"));
-        assertFalse(beanExcludeInfo.isExcluedProperty("ElementDetils"));
+        assertTrue(beanExcludeInfo.isExcludedProperty("DetailsString"));
+        assertFalse(beanExcludeInfo.isExcludedProperty("DayPhoneTTYString"));
+        assertFalse(beanExcludeInfo.isExcludedProperty("ElementDetils"));
     }
 }

Modified: webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/util/ExcludeInfoTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/util/ExcludeInfoTest.java?rev=610805&r1=610804&r2=610805&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/util/ExcludeInfoTest.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/util/ExcludeInfoTest.java
Thu Jan 10 06:40:30 2008
@@ -27,17 +27,17 @@
         excludeInfo.putBeanInfo("org.kp.anuhak.meta.[A-z]*",new BeanExcludeInfo("[A-z]*",null));
 
         BeanExcludeInfo beanExcludeInfo = excludeInfo.getBeanExcludeInfoForClass("org.kp.anuhak.cdr.test.TestClass");
-        assertFalse(beanExcludeInfo.isExcluedProperty("TestProperty"));
-        assertTrue(beanExcludeInfo.isExcluedProperty("TestBool"));
-        assertFalse(beanExcludeInfo.isExcluedProperty("isTestBool"));
+        assertFalse(beanExcludeInfo.isExcludedProperty("TestProperty"));
+        assertTrue(beanExcludeInfo.isExcludedProperty("TestBool"));
+        assertFalse(beanExcludeInfo.isExcludedProperty("isTestBool"));
 
         beanExcludeInfo = excludeInfo.getBeanExcludeInfoForClass("org.kp.anuhak.cdr.types.TestClass");
-        assertFalse(beanExcludeInfo.isExcluedProperty("TestProperty"));
-        assertTrue(beanExcludeInfo.isExcluedProperty("TestString"));
-        assertFalse(beanExcludeInfo.isExcluedProperty("isTestBool"));
+        assertFalse(beanExcludeInfo.isExcludedProperty("TestProperty"));
+        assertTrue(beanExcludeInfo.isExcludedProperty("TestString"));
+        assertFalse(beanExcludeInfo.isExcludedProperty("isTestBool"));
 
         beanExcludeInfo = excludeInfo.getBeanExcludeInfoForClass("org.kp.anuhak.meta.TestClass");
-        assertTrue(beanExcludeInfo.isExcluedProperty("TestProperty"));
+        assertTrue(beanExcludeInfo.isExcludedProperty("TestProperty"));
 
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message