Remove unnecessary assignments

Change-Id: I7890b296474811b16f57e029f9142655df1bc945
This commit is contained in:
alex.ryazantsev
2013-11-18 01:51:58 +04:00
committed by Александр Рязанцев
parent fc798093b8
commit 5c96817e31
15 changed files with 13 additions and 15 deletions

View File

@@ -97,7 +97,7 @@ public class SubmoduleSectionParser {
}
final String urlExtractedPath = new URI(url).getPath();
String projectName = urlExtractedPath;
String projectName;
int fromIndex = urlExtractedPath.length() - 1;
while (fromIndex > 0) {
fromIndex = urlExtractedPath.lastIndexOf('/', fromIndex - 1);