This isn't an error, it's just a message to inform you it is better to
specify the size of the buffer you need in the constructor.

Abhi wrote:
>   String line = "", oldtext = "";
>
>      while((line = reader.readLine()) != null)
>              {
>                  oldtext += line + "\r\n";
>              }

Don't do that, use a StringBuilder and StringBuilder#append() instead.
String concatenation like the way you are doing it slows things down
and creates more objects.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to