Created
January 23, 2012 09:50
-
-
Save jesperronn/1662133 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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