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")) {
|
if (os != null && os.contains("windows")) {
|
||||||
try {
|
try {
|
||||||
return Sspi.MAX_TOKEN_SIZE > 0;
|
return Sspi.MAX_TOKEN_SIZE > 0;
|
||||||
} catch (final Exception ignore) { // Likely ClassNotFound
|
} catch (final Exception ignore) {
|
||||||
return false;
|
// Likely ClassNotFound
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -121,12 +121,10 @@ public class BasicAuthCache implements AuthCache {
|
||||||
if (LOG.isWarnEnabled()) {
|
if (LOG.isWarnEnabled()) {
|
||||||
LOG.warn("Unexpected I/O error while de-serializing auth scheme", ex);
|
LOG.warn("Unexpected I/O error while de-serializing auth scheme", ex);
|
||||||
}
|
}
|
||||||
return null;
|
|
||||||
} catch (final ClassNotFoundException ex) {
|
} catch (final ClassNotFoundException ex) {
|
||||||
if (LOG.isWarnEnabled()) {
|
if (LOG.isWarnEnabled()) {
|
||||||
LOG.warn("Unexpected error while de-serializing auth scheme", ex);
|
LOG.warn("Unexpected error while de-serializing auth scheme", ex);
|
||||||
}
|
}
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue