Author: mrisaliti
Date: Mon Feb 28 21:40:32 2011
New Revision: 1075545
URL:
http://svn.apache.org/viewvc?rev=1075545&view=revLog:
Remove unused variable in TextFormRenderer (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/text/TextFormRenderer.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/text/TextFormRenderer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/text/TextFormRenderer.java?rev=1075545&r1=1075544&r2=1075545&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/text/TextFormRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/text/TextFormRenderer.java Mon Feb 28 21:40:32 2011
@@ -108,7 +108,6 @@ public class TextFormRenderer implements
public void renderDropDownField(Appendable writer, Map<String, Object> context, DropDownField dropDownField) throws IOException {
ModelFormField modelFormField = dropDownField.getModelFormField();
- ModelForm modelForm = modelFormField.getModelForm();
String currentValue = modelFormField.getEntry(context);
List<ModelFormField.OptionValue> allOptionValues = dropDownField.getAllOptionValues(context, WidgetWorker.getDelegator(context));
// if the current value should go first, display it