Remove redundant returns.
This commit is contained in:
parent
712148ecc3
commit
75f9adea87
|
@ -57,8 +57,8 @@ public class WinHttpClients {
|
|||
if (os != null && os.contains("windows")) {
|
||||
try {
|
||||
return Sspi.MAX_TOKEN_SIZE > 0;
|
||||
} catch (final Exception ignore) { // Likely ClassNotFound
|
||||
return false;
|
||||
} catch (final Exception ignore) {
|
||||
// Likely ClassNotFound
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
|
@ -121,12 +121,10 @@ public class BasicAuthCache implements AuthCache {
|
|||
if (LOG.isWarnEnabled()) {
|
||||
LOG.warn("Unexpected I/O error while de-serializing auth scheme", ex);
|
||||
}
|
||||
return null;
|
||||
} catch (final ClassNotFoundException ex) {
|
||||
if (LOG.isWarnEnabled()) {
|
||||
LOG.warn("Unexpected error while de-serializing auth scheme", ex);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue