結果 : how to avoid multiple return statements in java