cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r123837 - /cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/forms/flow/java/FormInstance.java
Date Sat, 01 Jan 2005 12:12:02 GMT
Author: antonio
Date: Sat Jan  1 04:12:01 2005
New Revision: 123837

URL: http://svn.apache.org/viewcvs?view=rev&rev=123837
Log:
Remove resolver
Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/forms/flow/java/FormInstance.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/forms/flow/java/FormInstance.java
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/forms/flow/java/FormInstance.java?view=diff&rev=123837&p1=cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/forms/flow/java/FormInstance.java&r1=123836&p2=cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/forms/flow/java/FormInstance.java&r2=123837
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/forms/flow/java/FormInstance.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/java/org/apache/cocoon/forms/flow/java/FormInstance.java
Sat Jan  1 04:12:01 2005
@@ -87,17 +87,14 @@
      */
     public FormInstance(Element formDefinition) {
         FormManager formMgr = null;
-        SourceResolver resolver = null;
         try {
             formMgr = (FormManager)getComponent(FormManager.ROLE);
-            resolver = (SourceResolver)getComponent(SourceResolver.ROLE);
             this.form = formMgr.createForm(formDefinition);
             this.binding = null;
         } catch (Exception e) {
             throw new CascadingRuntimeException("Could not create form instance", e);
         } finally {
             releaseComponent(formMgr);
-            releaseComponent(resolver);
         }
     }
 

Mime
View raw message