webwork/src/main/webwork/util/editor StringEditor.java,1.1,1.2

[email protected] Wed, 05 Nov 2003 00:48:48 -0800
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
Update of /cvsroot/opensymphony/webwork/src/main/webwork/util/editor
In directory sc8-pr-cvs1:/tmp/cvs-serv31329

Modified Files:
	StringEditor.java 
Log Message:
Fixed bug where a class cast exception was thrown when one was
trying to display a string array (WW-367)

Index: StringEditor.java
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/util/editor/StringEditor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- StringEditor.java	15 Jan 2003 02:46:39 -0000	1.1
+++ StringEditor.java	5 Nov 2003 08:48:45 -0000	1.2
@@ -21,16 +21,6 @@
          setValue(txt);
    }
    
-   public String getAsText()
-   {
-   	return (String) value;
-   }
-   
-   public String getAsText(Object value)
-   {
-   	return (String) value;
-   }
-   
    public Object getAsValue(String txt)
    {
    	return txt;




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/