cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r479298 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java
Date Sun, 26 Nov 2006 06:40:36 GMT
Author: antonio
Date: Sat Nov 25 22:40:35 2006
New Revision: 479298

URL: http://svn.apache.org/viewvc?view=rev&rev=479298
Log:
remove unused private method.

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java?view=diff&rev=479298&r1=479297&r2=479298
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java
Sat Nov 25 22:40:35 2006
@@ -861,17 +861,6 @@
         }
     }
 
-    private Throwable unwrap(JavaScriptException e) {
-        Object value = e.getValue();
-        while (value instanceof Wrapper) {
-            value = ((Wrapper)value).unwrap();
-        }
-        if (value instanceof Throwable) {
-            return (Throwable)value;
-        }
-        return e;
-    }
-
     public void forwardTo(Scriptable scope, FOM_Cocoon cocoon, String uri,
                           Object bizData, FOM_WebContinuation fom_wk,
                           Redirector redirector)



Mime
View raw message