Skip to content

Commit a9eb403

Browse files
eclipse-platform-botakurtakov
authored andcommitted
Perform clean code of team/bundles/org.eclipse.ui.net
1 parent 5743a98 commit a9eb403

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

team/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/NetAuthenticator.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ protected PasswordAuthentication getPasswordAuthentication() {
4141

4242
Authentication auth = UserValidationDialog.getAuthentication(
4343
hostString, promptString);
44-
if (auth != null)
44+
if (auth != null) {
4545
return new PasswordAuthentication(auth.getUser(), auth
4646
.getPassword().toCharArray());
47-
else
47+
} else {
4848
return null;
49+
}
4950
}
5051
}

0 commit comments

Comments
 (0)