Tuesday, 15 May 2012

java - StringBuffer append("") -


I am currently reapplying an application using a lot:

  stringbuff buff 1 = new stringbuffer (""); Buff1.append ("Some Value A"); Buff1.append (""); Buff1.append ("Some Value B");  

The codec did not think that code lines were fooled, is there any reason I can not use the app ("") for string buffer?

It is very likely that the code was generated by some refactoring device and to remove the encoder Unnecessary lines were not bothered for


No comments:

Post a Comment