Author: gmaksimenko
Date: 2008-04-21 12:35:27 -0400 (Mon, 21 Apr 2008)
New Revision: 8039
Modified:
trunk/test-applications/facelets/src/main/java/util/data/Data.java
Log:
Add test for converter
Modified: trunk/test-applications/facelets/src/main/java/util/data/Data.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/util/data/Data.java 2008-04-21 16:35:05
UTC (rev 8038)
+++ trunk/test-applications/facelets/src/main/java/util/data/Data.java 2008-04-21 16:35:27
UTC (rev 8039)
@@ -1,8 +1,9 @@
package util.data;
+import java.io.Serializable;
import java.util.Random;
-public class Data {
+public class Data implements Serializable{
public static final String[] statusIcon = {"/pics/error.gif",
"/pics/fatal.gif", "/pics/info.gif", "/pics/passed.gif",
"/pics/warn.gif"};
public static final String[] status = {"error", "fatal",
"info", "passed", "warn"};
@@ -232,4 +233,8 @@
return true;
}
+ @Override
+ public String toString() {
+ return str0 +":"+int0;
+ }
}
Show replies by date