cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r123706 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/ContinuationsManagerImpl.java
Date Thu, 30 Dec 2004 08:16:51 GMT
Author: antonio
Date: Thu Dec 30 00:16:48 2004
New Revision: 123706

URL: http://svn.apache.org/viewcvs?view=rev&rev=123706
Log:
Remove unnecesary casts
Modified:
   cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/ContinuationsManagerImpl.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/ContinuationsManagerImpl.java
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/ContinuationsManagerImpl.java?view=diff&rev=123706&p1=cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/ContinuationsManagerImpl.java&r1=123705&p2=cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/ContinuationsManagerImpl.java&r2=123706
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/ContinuationsManagerImpl.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/ContinuationsManagerImpl.java
Thu Dec 30 00:16:48 2004
@@ -234,7 +234,7 @@
         if (continuationsHolder == null)
             return null;
         
-        WebContinuation kont = (WebContinuation) continuationsHolder.get(id);
+        WebContinuation kont = continuationsHolder.get(id);
         if ( kont != null ) {
             boolean interpreterMatches = kont.interpreterMatches(interpreterId);
             if (!interpreterMatches && getLogger().isWarnEnabled()) {
@@ -484,7 +484,7 @@
         Set continuationIds = continuationsHolder.getContinuationIds();
         Iterator idsIter = continuationIds.iterator();
         while (idsIter.hasNext()) {
-            WebContinuation wk = continuationsHolder.get((String) idsIter.next());
+            WebContinuation wk = continuationsHolder.get(idsIter.next());
             if (wk != null) {
                 _detach(wk);
                 _invalidate(continuationsHolder, wk);

Mime
View raw message