Polishing

This commit is contained in:
Andy Wilkinson
2015-07-29 16:31:29 +01:00
parent 458718c443
commit aaf8aab77e

View File

@@ -65,8 +65,8 @@ public class PathParametersSnippetResultHandler extends
}
private static String getParameterName(String match) {
int colonIdx = match.indexOf(':');
return (colonIdx != -1 ? match.substring(0, colonIdx) : match);
int colonIndex = match.indexOf(':');
return colonIndex != -1 ? match.substring(0, colonIndex) : match;
}
@Override