fiji / 3D_Viewer

https://imagej.net/plugins/3d-viewer
GNU General Public License v3.0
20 stars 18 forks source link

The return string from String.replaceAll() is not being used #34

Closed scuniff closed 1 year ago

scuniff commented 1 year ago

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("#", "--");