The return string from String.replaceAll() is not being used
scuniff opened this issue · 0 comments
scuniff commented
The Static Code Analyzer (Spot Bugs) flagged the following as a possible issue.
In SaveSession.java (https://github.com/fiji/3D_Viewer/blob/master/src/main/java/ij3d/SaveSession.java)
The return string from String.replaceAll() is not being used at line 587:
name.replaceAll(" ", "_").replaceAll("#", "--");
Should probably be:
name = name.replaceAll(" ", "_").replaceAll("#", "--");