Remove unnecessary assignments
Change-Id: I7890b296474811b16f57e029f9142655df1bc945
This commit is contained in:
committed by
Александр Рязанцев
parent
fc798093b8
commit
5c96817e31
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user