Skip to content

Commit 8e627c0

Browse files
Implement suggestion
Signed-off-by: miguelfigueiredo <[email protected]>
1 parent 6f6a8df commit 8e627c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command/src/com/mirth/connect/cli/CommandLineInterface.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private void runShell(String server, String user, String password, String script
184184
try {
185185
loginStatus = client.login(user, password);
186186
} catch (UnauthorizedException ex) {
187-
if (ex.getResponse() != null && ex.getResponse() instanceof LoginStatus) {
187+
if (ex.getResponse() instanceof LoginStatus) {
188188
loginStatus = (LoginStatus) ex.getResponse();
189189
}
190190
else {

0 commit comments

Comments
 (0)