You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jm...@apache.org on 2006/11/25 08:31:06 UTC

svn commit: r479097 - /incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/java/JavaTargetInvoker.java

Author: jmarino
Date: Fri Nov 24 23:31:06 2006
New Revision: 479097

URL: http://svn.apache.org/viewvc?view=rev&rev=479097
Log:
include assertion since conversations cannot be cached

Modified:
    incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/java/JavaTargetInvoker.java

Modified: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/java/JavaTargetInvoker.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/java/JavaTargetInvoker.java?view=diff&rev=479097&r1=479096&r2=479097
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/java/JavaTargetInvoker.java (original)
+++ incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/java/JavaTargetInvoker.java Fri Nov 24 23:31:06 2006
@@ -99,6 +99,7 @@
                 throw new InvalidConversationSequenceException(String.valueOf(sequence));
             }
         } else {
+            assert sequence == NONE;  // conversations are not cacheable
             if (target == null) {
                 target = component.getTargetInstance();
             }



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