mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-11-28 20:50:13 +00:00
added Message
This commit is contained in:
parent
48aca6e1eb
commit
cf0cfd278b
@ -68,11 +68,13 @@ abstract class Message extends AbstractFile
|
||||
// ---------------------------------------------------------------------------------//
|
||||
{
|
||||
StringBuilder message = new StringBuilder ();
|
||||
|
||||
for (String line : lines)
|
||||
message.append (" " + line + " <br>");
|
||||
if (message.length () > 0)
|
||||
for (int i = 0; i < 4; i++)
|
||||
message.deleteCharAt (message.length () - 1); // remove <br> tag
|
||||
message.deleteCharAt (message.length () - 1); // remove <br> tag
|
||||
|
||||
return message.toString ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user