You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
StackOverflow error thrown on Invoices toString() #289
@OverRide
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Invoices {\n");
sb.append(" invoices: ").append(toIndentedString(invoices)).append("\n");
sb.append("}");
return sb.toString();
}
/**
Convert the given object to string with each line indented by 4 spaces (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
Activity