As reported by a colleague, who is doing maintenance work on a legacy application:
Here's the code used to concatenate three strings:
String.valueOf( String.valueOf ( new StringBuffer(bla).append(bla2).append(bla3) ) )
I could almost (almost) accept that if it were the result of a (slighty stupid) visual IDE or code generation tool or whatever. Sadly, it appears this code has been hand-typed by some "brillant" and obviously nowhere-to-be-found developer.
S
stnever
@stnever
0
Reputation
1
Posts
22
Profile views
0
Followers
0
Following
Best posts made by stnever
This user hasn't posted anything yet.
Latest posts made by stnever
-
String.valueOf()