Skip to content

Instantly share code, notes, and snippets.

@jesperronn
Created January 23, 2012 09:50
Show Gist options
  • Select an option

  • Save jesperronn/1662133 to your computer and use it in GitHub Desktop.

Select an option

Save jesperronn/1662133 to your computer and use it in GitHub Desktop.
public String getOtherInfo(){
String s = "";
s += "restriction info: ";
s += isBan() ? "Ja": "Nej";
//later add more attrs if needed:
s += "info 2: "
s += getInfo2();
return s;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment