| CODENOTIFIER | HelpYou are not signed inSign in |
Project: UFace
Revision: 2263
Author: kenneth.westelinck
Date: 17 Aug 2008 05:31:17
Changes:Cleanup.
Files:| ... | ...@@ -27,7 +27,6 @@ | |
| 27 | 27 | */ |
| 28 | 28 | public class DateToStringConverter implements IConverter { |
| 29 | 29 | private DateTimeFormat format; |
| 30 | private AttributeDescriptor descriptor; | |
| 31 | 30 | |
| 32 | 31 | /** |
| 33 | 32 | * Create a new converter which uses the given pattern to convert the date |
| ... | ...@@ -40,7 +39,6 @@ | |
| 40 | 39 | */ |
| 41 | 40 | public DateToStringConverter(String pattern, AttributeDescriptor descriptor) { |
| 42 | 41 | this.format = DateTimeFormat.getFormat(pattern); |
| 43 | this.descriptor = descriptor; | |
| 44 | 42 | } |
| 45 | 43 | |
| 46 | 44 | public Object convert(Object fromObject) { |
| ... | ...@@ -26,7 +26,6 @@ | |
| 26 | 26 | */ |
| 27 | 27 | public class StringToDateConverter implements IConverter { |
| 28 | 28 | private DateTimeFormat[] parsers; |
| 29 | private AttributeDescriptor descriptor; | |
| 30 | 29 | |
| 31 | 30 | /** |
| 32 | 31 | * Create a new converter which uses the given patterns to convert a |
| ... | ...@@ -42,7 +41,6 @@ | |
| 42 | 41 | */ |
| 43 | 42 | public StringToDateConverter(String[] patterns, |
| 44 | 43 | AttributeDescriptor descriptor) { |
| 45 | this.descriptor = descriptor; | |
| 46 | 44 | parsers = new DateTimeFormat[patterns.length]; |
| 47 | 45 | |
| 48 | 46 | for (int i = 0; i < patterns.length; i++) { |