Created
February 1, 2012 16:28
-
-
Save Serubin/1717869 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 reasonArgs(String[] args) { | |
StringBuilder reason = new StringBuilder(); | |
// combine args into a string | |
for (String s: args) { | |
reason.append(" " + s); | |
} | |
// return string | |
return reason.toString(); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment