I feel like this question should be closed as being "Unclear what you're asking".
https://stackoverflow.com/questions/29499588/need-help-troubleshooting-small-amount-of-java-code
Except it is pretty clear what they're asking... they're asking "Does my code work?"
It seems to me that the question is so localized that it'll never be of any use to future readers. But we no longer have the "too localized" closure reason - it was replaced with "Unclear what you're asking", "Too broad", and "Primarily Opinion Based".
Do people agree with me that it should be closed, and if so, does anyone have a suggestion for picking which reason to close it with?