Fully solved WordWrap bug
This commit is contained in:
parent
88cab094ab
commit
cc365d5555
1 changed files with 5 additions and 1 deletions
|
@ -42,7 +42,11 @@ public class DebugPotato {
|
||||||
* @return This potato
|
* @return This potato
|
||||||
*/
|
*/
|
||||||
public DebugPotato setMessage(List<String> message) {
|
public DebugPotato setMessage(List<String> message) {
|
||||||
this.message = message;
|
this.message = WordWrap(message.toString());
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public DebugPotato setMessage(List<String> message, boolean isWordWrapped) {
|
||||||
|
this.message = (isWordWrapped) ? WordWrap(message.toString()): message;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue