Skip to content

Commit

Permalink
Change coding style to fit checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
KokJianYu committed Oct 3, 2018
1 parent 4da24bf commit 97877fa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ public class AutoCompleteCommandHelper {
*/
public static String autoCompleteWord(String partialWord) {
for (String s : commandWordList) {
if (s.startsWith(partialWord))
if (s.startsWith(partialWord)) {
return s;
}
}
return null;
}
Expand Down

0 comments on commit 97877fa

Please sign in to comment.