cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r454133 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/JavaScriptFlowHelper.java
Date Sun, 08 Oct 2006 12:19:29 GMT
Author: joerg
Date: Sun Oct  8 05:19:28 2006
New Revision: 454133

URL: http://svn.apache.org/viewvc?view=rev&rev=454133
Log:
properties set

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/JavaScriptFlowHelper.java
  (contents, props changed)

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/JavaScriptFlowHelper.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/JavaScriptFlowHelper.java?view=diff&rev=454133&r1=454132&r2=454133
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/JavaScriptFlowHelper.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/JavaScriptFlowHelper.java
Sun Oct  8 05:19:28 2006
@@ -1,23 +1,23 @@
-package org.apache.cocoon.components.flow.javascript;
-
-import org.apache.cocoon.components.flow.FlowHelper;
-
-import org.mozilla.javascript.Undefined;
-import org.mozilla.javascript.Wrapper;
-
-public class JavaScriptFlowHelper extends FlowHelper {
-
-    /**
-     * Unwrap a Rhino object (getting the raw java object) and convert undefined to null
-     * @since 2.1.10
-     */
-    public static Object unwrap(Object obj) {
-        if (obj instanceof Wrapper) {
-            obj = ((Wrapper)obj).unwrap();
-        } else if (obj == Undefined.instance) {
-            obj = null;
-        }
-        return obj;
-    }
-
-}
+package org.apache.cocoon.components.flow.javascript;
+
+import org.apache.cocoon.components.flow.FlowHelper;
+
+import org.mozilla.javascript.Undefined;
+import org.mozilla.javascript.Wrapper;
+
+public class JavaScriptFlowHelper extends FlowHelper {
+
+    /**
+     * Unwrap a Rhino object (getting the raw java object) and convert undefined to null
+     * @since 2.1.10
+     */
+    public static Object unwrap(Object obj) {
+        if (obj instanceof Wrapper) {
+            obj = ((Wrapper)obj).unwrap();
+        } else if (obj == Undefined.instance) {
+            obj = null;
+        }
+        return obj;
+    }
+
+}

Propchange: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/javascript/JavaScriptFlowHelper.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message