Skip to content

Instantly share code, notes, and snippets.

@jamiebullock
Created January 23, 2020 20:12
Show Gist options
  • Save jamiebullock/e92efb17b58af81b49bc6568b0de4a4e to your computer and use it in GitHub Desktop.
Save jamiebullock/e92efb17b58af81b49bc6568b0de4a4e to your computer and use it in GitHub Desktop.
Not separate levels of abstraction
public String render() throws Exception
{
StringBuffer html = new StringBuffer("<hr");
if (size > 0)
html.append(" size="").append(size + 1).append("\"");
html.append(">");
return html.toString();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment