Repository: juddi
Updated Branches:
  refs/heads/master 193fa4c56 -> de1de4c4f


http://git-wip-us.apache.org/repos/asf/juddi/blob/de1de4c4/juddi-examples/more-uddi-samples/src/main/java/org/apache/juddi/samples/testStrings.java
----------------------------------------------------------------------
diff --git 
a/juddi-examples/more-uddi-samples/src/main/java/org/apache/juddi/samples/testStrings.java
 
b/juddi-examples/more-uddi-samples/src/main/java/org/apache/juddi/samples/testStrings.java
deleted file mode 100644
index c35e5ea..0000000
--- 
a/juddi-examples/more-uddi-samples/src/main/java/org/apache/juddi/samples/testStrings.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * Copyright 2001-2013 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-package org.apache.juddi.samples;
-
-import java.util.concurrent.atomic.AtomicReference;
-import javax.xml.ws.Holder;
-
-/**
- * A simple program to illistrate how to pass by "reference" vs by "value" in
- * Java. Or more accurately, how to persist changes on method parameters to the
- * caller. Written mostly because I forget it frequently and use this as
- * reference material.
- *
- * @author <a href="mailto:[email protected]";>Alex O'Ree</a>
- */
-public class testStrings {
-
-    public static void main(String[] args) {
-        String str = "hi";
-        System.out.println(str);                                               
 //hi
-        System.out.println(Test1(str));                                        
 //hir
-        System.out.println(Test2(str));                                        
 //hix
-        Test3(str);
-        System.out.println(str);                                               
 //hi no change
-        Holder<String> holder = new Holder<String>();
-        holder.value = str;
-        Test4(holder);
-        System.out.println(str);                                               
 //hi no change
-        System.out.println(holder.value);                                      
 //hiw changed persists
-
-        AtomicReference<String> astr = new AtomicReference<String>();
-        astr.set(str);
-        Test5(astr);
-        System.out.println(str);                                               
 //hi no change
-        System.out.println(astr.get());                                        
 //hit change persists
-
-    }
-
-    static String Test1(String s) {
-        return s + "r";
-    }
-
-    static String Test2(String s) {
-        s += "x";
-        return s;
-    }
-
-    static void Test3(String s) {
-        s += "z";
-    }
-
-    static void Test4(Holder<String> s) {
-        s.value += "w";
-    }
-
-    static void Test5(AtomicReference<String> s) {
-        s.set(s.get() + "t");
-    }
-}

http://git-wip-us.apache.org/repos/asf/juddi/blob/de1de4c4/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_101_ClientSubscriptionCallbackAPIIntegrationTest.java
----------------------------------------------------------------------
diff --git 
a/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_101_ClientSubscriptionCallbackAPIIntegrationTest.java
 
b/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_101_ClientSubscriptionCallbackAPIIntegrationTest.java
index dd5a269..0c3d55a 100644
--- 
a/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_101_ClientSubscriptionCallbackAPIIntegrationTest.java
+++ 
b/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_101_ClientSubscriptionCallbackAPIIntegrationTest.java
@@ -200,7 +200,7 @@ public class 
JUDDI_101_ClientSubscriptionCallbackAPIIntegrationTest implements I
         private static List<SubscriptionResultsList> notificationsMessages = 
new ArrayList<SubscriptionResultsList>();
 
         @Override
-        public void HandleCallback(SubscriptionResultsList body) {
+        public void handleCallback(SubscriptionResultsList body) {
                 if (TckCommon.isDebug()) {
                         PrintUDDI<SubscriptionResultsList> p2 = new 
PrintUDDI<SubscriptionResultsList>();
                         logger.info(p2.print(body));
@@ -213,7 +213,7 @@ public class 
JUDDI_101_ClientSubscriptionCallbackAPIIntegrationTest implements I
         }
 
         @Override
-        public void NotifyEndpointStopped() {
+        public void notifyEndpointStopped() {
                 logger.info("Notify endpoints stopped");
         }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to