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/21 21:32:50 UTC

svn commit: r639810 - in /incubator/tuscany/java/sca/modules/interface/src: main/java/org/apache/tuscany/sca/interfacedef/ main/java/org/apache/tuscany/sca/interfacedef/impl/ test/java/org/apache/tuscany/sca/interfacedef/impl/

Author: mcombellack
Date: Fri Mar 21 13:32:48 2008
New Revision: 639810

URL: http://svn.apache.org/viewvc?rev=639810&view=rev
Log:
Minor JavaDoc updates and spelling corrections

Modified:
    incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/FaultExceptionMapper.java
    incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/IncompatibleInterfaceContractException.java
    incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/InterfaceContractMapper.java
    incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/impl/InterfaceContractImpl.java
    incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/impl/OperationImpl.java
    incubator/tuscany/java/sca/modules/interface/src/test/java/org/apache/tuscany/sca/interfacedef/impl/ContractCompatibilityTestCase.java

Modified: incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/FaultExceptionMapper.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/FaultExceptionMapper.java?rev=639810&r1=639809&r2=639810&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/FaultExceptionMapper.java (original)
+++ incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/FaultExceptionMapper.java Fri Mar 21 13:32:48 2008
@@ -32,7 +32,7 @@
      * type
      * 
      * @param exceptionDataType The data type representing a java exception class
-     * @return true if the introspection can recoganize the exception data type 
+     * @return true if the introspection can recognize the exception data type 
      */
     boolean introspectFaultDataType(DataType<DataType> exceptionDataType);
     

Modified: incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/IncompatibleInterfaceContractException.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/IncompatibleInterfaceContractException.java?rev=639810&r1=639809&r2=639810&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/IncompatibleInterfaceContractException.java (original)
+++ incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/IncompatibleInterfaceContractException.java Fri Mar 21 13:32:48 2008
@@ -20,7 +20,7 @@
 package org.apache.tuscany.sca.interfacedef;
 
 /**
- * Denotes imcompatible service contracts for a wire
+ * Denotes incompatible service contracts for a wire
  * 
  * @version $Rev$ $Date$
  */

Modified: incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/InterfaceContractMapper.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/InterfaceContractMapper.java?rev=639810&r1=639809&r2=639810&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/InterfaceContractMapper.java (original)
+++ incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/InterfaceContractMapper.java Fri Mar 21 13:32:48 2008
@@ -26,7 +26,7 @@
  */
 public interface InterfaceContractMapper {
     /**
-     * Check the compatiblity of the source and the target interface contracts.
+     * Check the compatibility of the source and the target interface contracts.
      * <p>
      * A wire may only connect a source to a target if the target implements an
      * interface that is compatible with the interface required by the source.
@@ -47,7 +47,7 @@
      * </ol>
      * <p/>
      * <p>
-     * Please note this test is not symetric: the success of isCompatible(A, B)
+     * Please note this test is not symmetric: the success of isCompatible(A, B)
      * does NOT imply isCompatible(B, A)
      * 
      * @param source The source interface contract

Modified: incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/impl/InterfaceContractImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/impl/InterfaceContractImpl.java?rev=639810&r1=639809&r2=639810&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/impl/InterfaceContractImpl.java (original)
+++ incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/impl/InterfaceContractImpl.java Fri Mar 21 13:32:48 2008
@@ -54,7 +54,7 @@
         if (isCallback && callInterface == null)
             return this; // already a unidirectional callback interface contract
 
-        // contract is bidrectional, so create a new unidirectional contract        
+        // contract is bidirectional, so create a new unidirectional contract        
         try {
             InterfaceContract newContract = clone();
             if (!isCallback) {

Modified: incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/impl/OperationImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/impl/OperationImpl.java?rev=639810&r1=639809&r2=639810&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/impl/OperationImpl.java (original)
+++ incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/impl/OperationImpl.java Fri Mar 21 13:32:48 2008
@@ -122,14 +122,14 @@
     }
 
     /**
-     * @return the interfaze
+     * @return the interface
      */
     public Interface getInterface() {
         return interfaze;
     }
 
     /**
-     * @param interfaze the interfaze to set
+     * @param interfaze the interface to set
      */
     public void setInterface(Interface interfaze) {
         this.interfaze = interfaze;

Modified: incubator/tuscany/java/sca/modules/interface/src/test/java/org/apache/tuscany/sca/interfacedef/impl/ContractCompatibilityTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/interface/src/test/java/org/apache/tuscany/sca/interfacedef/impl/ContractCompatibilityTestCase.java?rev=639810&r1=639809&r2=639810&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/interface/src/test/java/org/apache/tuscany/sca/interfacedef/impl/ContractCompatibilityTestCase.java (original)
+++ incubator/tuscany/java/sca/modules/interface/src/test/java/org/apache/tuscany/sca/interfacedef/impl/ContractCompatibilityTestCase.java Fri Mar 21 13:32:48 2008
@@ -187,7 +187,7 @@
     }
 
     /**
-     * Verfies a return type that is a supertype of of the target is compatible
+     * Verifies a return type that is a supertype of of the target is compatible
      */
     public void testSupertypeOutputTypes() throws Exception {
         // InterfaceContract source = new MockContract("FooContract");
@@ -281,7 +281,7 @@
 
     /**
      * Verifies a source's fault which is a supertype of the target's fault are
-     * compatibile
+     * compatible
      * 
      * @throws Exception
      */
@@ -315,7 +315,7 @@
 
     /**
      * Verifies a source's faults which are supertypes and a superset of the
-     * target's faults are compatibile
+     * target's faults are compatible
      */
     public void testFaultSuperTypesAndSuperset() throws Exception {
         // InterfaceContract source = new MockContract("FooContract");



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