vgritsenko 2004/01/23 05:56:46
Modified: src/blocks/woody/java/org/apache/cocoon/woody/formmodel
Union.java
Log:
Unnecessary type cast
Revision Changes Path
1.2 +3 -3
cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Union.java
Index: Union.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Union.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Union.java 29 Dec 2003 06:14:49 -0000 1.1
+++ Union.java 23 Jan 2004 13:56:46 -0000 1.2
@@ -79,7 +79,7 @@
// TODO: This whole union mess is too dependent on undefined sequences
of execution.
// These need to be ordered into a contract of sequences.
-
+
public void setParent(Widget widget) {
super.setParent(widget);
resolve();
@@ -102,7 +102,7 @@
}
public Object getValue() {
- return ((Field)caseWidget).getValue();
+ return caseWidget.getValue();
}
public void readFromRequest(FormContext formContext) {