webwork/src/main/webwork/examples BeanUtilTest.java,1.1,1.2
[email protected] Sat, 29 Jun 2002 18:37:00 -0700
| Newsgroups | gmane.comp.java.webwork.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/webwork/webwork/src/main/webwork/examples
In directory usw-pr-cvs1:/tmp/cvs-serv18017
Modified Files:
BeanUtilTest.java
Log Message:
removed date formatter
Index: BeanUtilTest.java
===================================================================
RCS file: /cvsroot/webwork/webwork/src/main/webwork/examples/BeanUtilTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BeanUtilTest.java 24 Apr 2002 20:22:52 -0000 1.1
+++ BeanUtilTest.java 30 Jun 2002 01:36:58 -0000 1.2
@@ -161,20 +161,6 @@
this.objDate = objDate;
}
- public String formatDate() {
- DateFormatter formatter = new DateFormatter();
- formatter.setDate(objDate);
-
- try {
- formatter.setFormat(DateFormat.getDateInstance(DateFormat.SHORT,
- ActionContext.getContext().getLocale()));
- } catch (Exception e) {
- //ignore, use default parser
- }
-
- return formatter.getFormattedDate();
- }
-
// Action implementation -----------------------------------------
protected void doValidation() {
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf