You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by mc...@apache.org on 2008/03/26 21:52:12 UTC

svn commit: r641568 - in /incubator/tuscany/java/sca/modules/node2-api/src/main/java/org/apache/tuscany/sca/node: SCAClient.java SCANode2.java

Author: mcombellack
Date: Wed Mar 26 13:52:07 2008
New Revision: 641568

URL: http://svn.apache.org/viewvc?rev=641568&view=rev
Log:
Removed redundant modifiers from methods on interface

Modified:
    incubator/tuscany/java/sca/modules/node2-api/src/main/java/org/apache/tuscany/sca/node/SCAClient.java
    incubator/tuscany/java/sca/modules/node2-api/src/main/java/org/apache/tuscany/sca/node/SCANode2.java

Modified: incubator/tuscany/java/sca/modules/node2-api/src/main/java/org/apache/tuscany/sca/node/SCAClient.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/node2-api/src/main/java/org/apache/tuscany/sca/node/SCAClient.java?rev=641568&r1=641567&r2=641568&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/node2-api/src/main/java/org/apache/tuscany/sca/node/SCAClient.java (original)
+++ incubator/tuscany/java/sca/modules/node2-api/src/main/java/org/apache/tuscany/sca/node/SCAClient.java Wed Mar 26 13:52:07 2008
@@ -25,17 +25,17 @@
 
 /**
  * Provides client access to the services in a domain.
- * 
+ *
  * @version $Rev$ $Date$
  */
 public interface SCAClient {
-        
+
     /**
      * Cast a type-safe reference to a CallahbleReference. Converts a type-safe
      * reference to an equivalent CallableReference; if the target refers to a
      * service then a ServiceReference will be returned, if the target refers to
      * a callback then a CallableReference will be returned.
-     * 
+     *
      * @param target a reference proxy provided by the SCA runtime
      * @param <B> the Java type of the business interface for the reference
      * @param <R> the type of reference to be returned
@@ -43,29 +43,29 @@
      * @throws IllegalArgumentException if the supplied instance is not a
      *             reference supplied by the SCA runtime
      */
-    public <B, R extends CallableReference<B>> R cast(B target) throws IllegalArgumentException;
+    <B, R extends CallableReference<B>> R cast(B target) throws IllegalArgumentException;
 
     /**
      * Returns a proxy for a service provided by a component in the SCA domain.
-     * 
+     *
      * @param businessInterface the interface that will be used to invoke the
      *            service
      * @param serviceName the name of the service
      * @param <B> the Java type of the business interface for the service
      * @return an object that implements the business interface
      */
-    public <B> B getService(Class<B> businessInterface, String serviceName);
+    <B> B getService(Class<B> businessInterface, String serviceName);
 
     /**
      * Returns a ServiceReference for a service provided by a component in the
      * SCA domain.
-     * 
+     *
      * @param businessInterface the interface that will be used to invoke the
      *            service
      * @param serviceName the name of the service
      * @param <B> the Java type of the business interface for the service
      * @return a ServiceReference for the designated service
      */
-    public <B> ServiceReference<B> getServiceReference(Class<B> businessInterface, String referenceName);
+    <B> ServiceReference<B> getServiceReference(Class<B> businessInterface, String referenceName);
 
 }

Modified: incubator/tuscany/java/sca/modules/node2-api/src/main/java/org/apache/tuscany/sca/node/SCANode2.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/node2-api/src/main/java/org/apache/tuscany/sca/node/SCANode2.java?rev=641568&r1=641567&r2=641568&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/node2-api/src/main/java/org/apache/tuscany/sca/node/SCANode2.java (original)
+++ incubator/tuscany/java/sca/modules/node2-api/src/main/java/org/apache/tuscany/sca/node/SCANode2.java Wed Mar 26 13:52:07 2008
@@ -23,8 +23,8 @@
 
 /**
  * Represents an SCA processing node.
- * A node is loaded with an SCA composites. It can start and stop that composite. 
- * 
+ * A node is loaded with an SCA composites. It can start and stop that composite.
+ *
  * @version $Rev$ $Date$
  */
 public interface SCANode2 {
@@ -32,11 +32,11 @@
     /**
      * Start the composite loaded in the node.
      */
-    public void start() throws Node2Exception;    
-    
+    void start() throws Node2Exception;
+
     /**
      * Stop the composite loaded in the node.
      */
-    public void stop() throws Node2Exception;    
+    void stop() throws Node2Exception;
 
 }



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