Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
FSImage.java
Exception le = null; FSImageFile imageFile = null; for (int i = 0; i < imageFiles.size(); i++) { try { imageFile = imageFiles.get(i); loadFSImageFile(target, recovery, imageFile, startOpt); break; } catch (IllegalReservedPathException ie) { throw new IOException("Failed to load image from " + imageFile, ie); } catch (Exception e) { le = e; LOG.error("Failed to load image from " + imageFile, e); target.clear(); imageFile = null; } }
Exception le is not used. It can be removed.