ws-wsrf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r227048 [2/2] - in /webservices/wsrf/trunk/src: java/org/apache/ws/resource/ java/org/apache/ws/resource/faults/ java/org/apache/ws/resource/handler/ java/org/apache/ws/resource/handler/axis/ java/org/apache/ws/resource/i18n/ java/org/apach...
Date Tue, 02 Aug 2005 17:25:42 GMT
Modified: webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/SushiResourceContext.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/SushiResourceContext.java?rev=227048&r1=227047&r2=227048&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/SushiResourceContext.java
(original)
+++ webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/SushiResourceContext.java
Tue Aug  2 10:25:15 2005
@@ -40,7 +40,7 @@
    private static final String SERVICE_NAME = "sushi";
 
    /** DOCUMENT_ME */
-   public static final String ID         = "1212";
+   public static final String ID = "1212";
 
    /** DOCUMENT_ME */
    ResourceHome     m_home;

Modified: webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/AbstractWsrpPortTypeImplTestCase.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/AbstractWsrpPortTypeImplTestCase.java?rev=227048&r1=227047&r2=227048&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/AbstractWsrpPortTypeImplTestCase.java
(original)
+++ webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/AbstractWsrpPortTypeImplTestCase.java
Tue Aug  2 10:25:15 2005
@@ -40,7 +40,7 @@
    protected static final String INITIAL_PROP_VALUE_FUGU = "dangerous!";
 
    /** DOCUMENT_ME */
-   protected static final QName BOGUS_PROP_NAME         = new QName( "http://blah.com/",
"Bogus" );
+   protected static final QName BOGUS_PROP_NAME = new QName( "http://blah.com/", "Bogus"
);
 
    /** DOCUMENT_ME */
    protected static final QName ANOTHER_BOGUS_PROP_NAME = new QName( "http://blah.com/",
"EvenMoreBogus" );
@@ -57,7 +57,7 @@
       GetResourcePropertyPortTypeImpl get_provider = new GetResourcePropertyPortTypeImpl(
m_resourceContext );
       GetResourcePropertyDocument     get_document = GetResourcePropertyDocument.Factory.newInstance(
 );
       get_document.setGetResourceProperty( propName );
-      GetResourcePropertyResponseDocument                             resourceProperty  
         =
+      GetResourcePropertyResponseDocument                             resourceProperty =
          get_provider.getResourceProperty( get_document );
       GetResourcePropertyResponseDocument.GetResourcePropertyResponse getResourcePropertyResponse
=
          resourceProperty.getGetResourcePropertyResponse(  );
@@ -110,9 +110,8 @@
          new SetResourcePropertiesPortTypeImpl( m_resourceContext );
       SetResourcePropertiesDocument                       setDocument =
          SetResourcePropertiesDocument.Factory.newInstance(  );
-      SetResourcePropertiesDocument.SetResourceProperties setType     =
-         setDocument.addNewSetResourceProperties(  );
-      DeleteType                                          deleteType  = setType.addNewDelete(
 );
+      SetResourcePropertiesDocument.SetResourceProperties setType = setDocument.addNewSetResourceProperties(
 );
+      DeleteType                                          deleteType = setType.addNewDelete(
 );
       deleteType.setResourceProperty( propName );
       setProvider.setResourceProperties( setDocument ).getSetResourcePropertiesResponse(
 );
    }
@@ -128,9 +127,8 @@
          new SetResourcePropertiesPortTypeImpl( m_resourceContext );
       SetResourcePropertiesDocument                       setDocument =
          SetResourcePropertiesDocument.Factory.newInstance(  );
-      SetResourcePropertiesDocument.SetResourceProperties setType     =
-         setDocument.addNewSetResourceProperties(  );
-      InsertType                                          insertType  = setType.addNewInsert(
 );
+      SetResourcePropertiesDocument.SetResourceProperties setType = setDocument.addNewSetResourceProperties(
 );
+      InsertType                                          insertType = setType.addNewInsert(
 );
       for ( int i = 0; i < propElems.length; i++ )
       {
          XmlBeanUtils.addChildElement( insertType, propElems[i] );
@@ -165,9 +163,8 @@
          new SetResourcePropertiesPortTypeImpl( m_resourceContext );
       SetResourcePropertiesDocument                       setDocument =
          SetResourcePropertiesDocument.Factory.newInstance(  );
-      SetResourcePropertiesDocument.SetResourceProperties setType     =
-         setDocument.addNewSetResourceProperties(  );
-      UpdateType                                          updateType  = setType.addNewUpdate(
 );
+      SetResourcePropertiesDocument.SetResourceProperties setType = setDocument.addNewSetResourceProperties(
 );
+      UpdateType                                          updateType = setType.addNewUpdate(
 );
       for ( int i = 0; i < propElems.length; i++ )
       {
          XmlBeanUtils.addChildElement( updateType, propElems[i] );

Modified: webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/GetMultipleResourcePropertiesProviderTestCase.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/GetMultipleResourcePropertiesProviderTestCase.java?rev=227048&r1=227047&r2=227048&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/GetMultipleResourcePropertiesProviderTestCase.java
(original)
+++ webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/GetMultipleResourcePropertiesProviderTestCase.java
Tue Aug  2 10:25:15 2005
@@ -43,16 +43,14 @@
    throws Exception
    {
       m_resourceContext = new SushiResourceContext(  );
-      final QName[]                                                                     
 propNames =
-         new QName[]
-         {
-            SushiPropertyQNames.EBI,
-            SushiPropertyQNames.IKA
-         };
-      GetMultipleResourcePropertiesResponseDocument.GetMultipleResourcePropertiesResponse
response  =
+      final QName[] propNames = new QName[]
+                                {
+                                   SushiPropertyQNames.EBI,
+                                   SushiPropertyQNames.IKA
+                                };
+      GetMultipleResourcePropertiesResponseDocument.GetMultipleResourcePropertiesResponse
response =
          getMultipleResourceProperties( propNames );
-      XmlObject[]                                                                       
 propElems =
-         XmlBeanUtils.getChildElements( response, null );
+      XmlObject[]   propElems = XmlBeanUtils.getChildElements( response, null );
       assertNotNull( propElems );
       assertEquals( propNames.length, propElems.length );
       assertEquals( propNames[0],
@@ -117,16 +115,14 @@
       SushiResource    resource     = (SushiResource) m_resourceContext.getResource(  );
       ResourceProperty resourceProp = resource.getResourcePropertySet(  ).get( SushiPropertyQNames.EBI
);
       resourceProp.setCallback( callback );
-      final QName[]                                                                     
 propNames =
-         new QName[]
-         {
-            SushiPropertyQNames.EBI,
-            SushiPropertyQNames.IKA
-         };
-      GetMultipleResourcePropertiesResponseDocument.GetMultipleResourcePropertiesResponse
response  =
+      final QName[] propNames = new QName[]
+                                {
+                                   SushiPropertyQNames.EBI,
+                                   SushiPropertyQNames.IKA
+                                };
+      GetMultipleResourcePropertiesResponseDocument.GetMultipleResourcePropertiesResponse
response =
          getMultipleResourceProperties( propNames );
-      XmlObject[]                                                                       
 propElems =
-         XmlBeanUtils.getChildElements( response );
+      XmlObject[]   propElems = XmlBeanUtils.getChildElements( response );
       assertNotNull( propElems );
       assertEquals( propNames[0],
                     XmlBeanUtils.getName( propElems[0] ) );
@@ -136,9 +132,9 @@
 
    private GetMultipleResourcePropertiesResponseDocument.GetMultipleResourcePropertiesResponse
getMultipleResourceProperties( QName[] propNames )
    {
-      GetMultipleResourcePropertiesPortTypeImpl                           provider      
               =
+      GetMultipleResourcePropertiesPortTypeImpl                           provider =
          new GetMultipleResourcePropertiesPortTypeImpl( m_resourceContext );
-      GetMultipleResourcePropertiesDocument                               doc           
               =
+      GetMultipleResourcePropertiesDocument                               doc =
          GetMultipleResourcePropertiesDocument.Factory.newInstance(  );
       GetMultipleResourcePropertiesDocument.GetMultipleResourceProperties getMultipleResourceProperties
=
          doc.addNewGetMultipleResourceProperties(  );

Modified: webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/GetResourcePropertyProviderTestCase.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/GetResourcePropertyProviderTestCase.java?rev=227048&r1=227047&r2=227048&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/GetResourcePropertyProviderTestCase.java
(original)
+++ webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/GetResourcePropertyProviderTestCase.java
Tue Aug  2 10:25:15 2005
@@ -42,7 +42,7 @@
    throws Exception
    {
       m_resourceContext = new SushiResourceContext(  );
-      GetResourcePropertyResponseDocument.GetResourcePropertyResponse response     =
+      GetResourcePropertyResponseDocument.GetResourcePropertyResponse response =
          getResourceProperty( SushiPropertyQNames.IKA );
       XmlObject[]                                                     ebiPropElems =
          XmlBeanUtils.getChildElements( response, SushiPropertyQNames.IKA );
@@ -72,7 +72,7 @@
    throws Exception
    {
       m_resourceContext = new SushiResourceContext(  );
-      GetResourcePropertyResponseDocument.GetResourcePropertyResponse response     =
+      GetResourcePropertyResponseDocument.GetResourcePropertyResponse response =
          getResourceProperty( SushiPropertyQNames.UNI );
       XmlObject[]                                                     uniPropElems =
          XmlBeanUtils.getChildElements( response, SushiPropertyQNames.UNI );
@@ -98,7 +98,7 @@
       resourceProp.setCallback( callback );
 
       // send GetRP request and make sure prop got updated by callback.refreshProperty()
-      GetResourcePropertyResponseDocument.GetResourcePropertyResponse response     =
+      GetResourcePropertyResponseDocument.GetResourcePropertyResponse response =
          getResourceProperty( SushiPropertyQNames.EBI );
       XmlObject[]                                                     ebiPropElems =
          XmlBeanUtils.getChildElements( response, SushiPropertyQNames.EBI );

Modified: webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/QueryResourcePropertiesProviderTestCase.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/QueryResourcePropertiesProviderTestCase.java?rev=227048&r1=227047&r2=227048&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/QueryResourcePropertiesProviderTestCase.java
(original)
+++ webservices/wsrf/trunk/src/test/org/apache/ws/resource/properties/v2004_06/porttype/impl/QueryResourcePropertiesProviderTestCase.java
Tue Aug  2 10:25:15 2005
@@ -159,13 +159,13 @@
    private QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse queryResourceProperties(
String xPathExpr,
                                                                                         
                   URI    dialect )
    {
-      QueryResourcePropertiesPortTypeImpl                     provider                =
+      QueryResourcePropertiesPortTypeImpl                     provider =
          new QueryResourcePropertiesPortTypeImpl( m_resourceContext );
-      QueryResourcePropertiesDocument                         doc                     =
+      QueryResourcePropertiesDocument                         doc =
          QueryResourcePropertiesDocument.Factory.newInstance(  );
       QueryResourcePropertiesDocument.QueryResourceProperties queryResourceProperties =
          doc.addNewQueryResourceProperties(  );
-      QueryExpressionType                                     queryExpressionType     =
+      QueryExpressionType                                     queryExpressionType =
          queryResourceProperties.addNewQueryExpression(  );
       queryExpressionType.setDialect( dialect.toString(  ) );
       XmlBeanUtils.setValue( queryExpressionType, xPathExpr );

Modified: webservices/wsrf/trunk/src/test/org/apache/ws/util/XmlBeanUtilsTestCase.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/test/org/apache/ws/util/XmlBeanUtilsTestCase.java?rev=227048&r1=227047&r2=227048&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/test/org/apache/ws/util/XmlBeanUtilsTestCase.java (original)
+++ webservices/wsrf/trunk/src/test/org/apache/ws/util/XmlBeanUtilsTestCase.java Tue Aug 
2 10:25:15 2005
@@ -216,10 +216,9 @@
          ResourcePropertyValueChangeNotificationDocument.Factory.newInstance(  );
       ResourcePropertyValueChangeNotificationType          resourcePropertyValueChangeNotificationType
=
          resourcePropertyValueChangeNotificationDocument.addNewResourcePropertyValueChangeNotification(
 );
-      ResourcePropertyValueChangeNotificationType.OldValue oldValue                     
              =
+      ResourcePropertyValueChangeNotificationType.OldValue oldValue =
          resourcePropertyValueChangeNotificationType.addNewOldValue(  );
-      XmlCursor                                            parentCursor                 
              =
-         oldValue.newCursor(  );
+      XmlCursor                                            parentCursor = oldValue.newCursor(
 );
       if ( parentCursor.toLastChild(  ) )
       {
          parentCursor.toEndToken(  );
@@ -245,7 +244,7 @@
          ResourcePropertyValueChangeNotificationDocument.Factory.newInstance(  );
       ResourcePropertyValueChangeNotificationType          resourcePropertyValueChangeNotificationType1
=
          resourcePropertyValueChangeNotificationDocument.addNewResourcePropertyValueChangeNotification(
 );
-      ResourcePropertyValueChangeNotificationType.OldValue oldValue1                    
               =
+      ResourcePropertyValueChangeNotificationType.OldValue oldValue1 =
          resourcePropertyValueChangeNotificationType1.addNewOldValue(  );
       oldValue1.newCursor(  ).setTextValue( "one" );
       System.out.println( resourcePropertyValueChangeNotificationDocument );



Mime
View raw message