[Fb-contrib-commit] fb-contrib/samples ISB_Sample.java,1.1,1.2
Brought to you by:
dbrosius
|
From: Dave B. <dbr...@us...> - 2005-10-18 04:22:51
|
Update of /cvsroot/fb-contrib/fb-contrib/samples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23849/samples Modified Files: ISB_Sample.java Log Message: Index: ISB_Sample.java =================================================================== RCS file: /cvsroot/fb-contrib/fb-contrib/samples/ISB_Sample.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ISB_Sample.java 3 Sep 2005 05:06:34 -0000 1.1 +++ ISB_Sample.java 18 Oct 2005 04:22:42 -0000 1.2 @@ -37,4 +37,14 @@ String msg = a + "false positive" + b + ((c == null) ? "" : (a + d)); return msg; } + + public String toString() + { + String a = System.getProperty("foo"); + String b = System.getProperty("boo"); + StringBuffer sb = new StringBuffer(); + sb.append("info: "); + sb.append(a + ":" + b); + return sb.toString(); + } } |