Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 16
-
Component/s: security-libs
-
Labels:
-
Subcomponent:
-
Resolved In Build:b27
Description
There are a few code check both non-null and instance of a class. The "instanceof" checking could cover the non-null check. For example, the following code:
if ((cause != null) && (cause instanceof IOException)) {
could be:
if (cause instanceof IOException) {
if ((cause != null) && (cause instanceof IOException)) {
could be:
if (cause instanceof IOException) {