validity of the code below

HiI was wondering what could be the validity of the code below:String s = buildMyString();if (s == null) {s = buildMyString();}Any suggestions are gratefully acknowledged. Thanks
[227 byte] By [ilango171a] at [2007-10-3 2:34:56]
# 1
Looks like a perfectly valid way NOT to write code, but maybe buildMyString() does something different the 2nd time it's called?
BinaryDigita at 2007-7-14 19:33:52 > top of Java-index,Java Essentials,New To Java...
# 2
Also don't crosspost as you will be dividing the answers that you get. http://forum.java.sun.com/thread.jspa?threadID=759695
Aknibbsa at 2007-7-14 19:33:52 > top of Java-index,Java Essentials,New To Java...
# 3
Maybe it is parsing though a string.
jbisha at 2007-7-14 19:33:52 > top of Java-index,Java Essentials,New To Java...