Skip to content

Commit c8b3b8f

Browse files
author
Thomas Wolf
committed
Fix NPE in RepositorySelectionPage
Use the correct URI, too. Somehow this change got not included in commit ffd9cb6 :-( Bug: 517044 Change-Id: Ibd6600b55129a3832b412d2d73128eea09158a60 Signed-off-by: Thomas Wolf <[email protected]>
1 parent ffd9cb6 commit c8b3b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RepositorySelectionPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ public void widgetSelected(SelectionEvent evt) {
521521
URIish testUri = new URIish(uriText.getText());
522522
if (Protocol.FILE.defaultScheme
523523
.equals(testUri.getScheme())) {
524-
testFile = new File(uri.getPath());
524+
testFile = new File(testUri.getPath());
525525
if (testFile.exists()) {
526526
dialog.setFilterPath(testFile.getPath());
527527
}

0 commit comments

Comments
 (0)