Search
Tweets
Recent Changes
« Hibernate and all-delete-orphan | Main | Yesterday Was One Year »
Thursday
Sep222005

Don't Mind Me.

Just testing something.

StringBuilder buff = new StringBuilder();
buff.append("syntax ");
buff.append("highlighting!");
System.out.println(buff.toString());

Reader Comments (1)

I think you meant:


public class SomethingTest extends TestCase {
public void testSimpleAdd() {
String expected = new String("syntax highlighting!");
StringBuilder buff = new StringBuilder();
buff.append("syntax ");
buff.append("highlighting!");
Assert.assertTrue( expected.equals( buff.toString() ) );
}
}

September 22, 2005 | Unregistered CommenterJackson

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>