Skip to content

Commit

Permalink
Fix warning: new String() is inneficient and identical to hardcoded ""
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Borges committed Nov 20, 2012
1 parent 841354a commit 5ad4ff5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -38,7 +38,7 @@ public abstract class NodeManager implements HornetQComponent

protected final boolean replicatedBackup;
private final String directory;
private final Object nodeIDGuard = new String();
private final Object nodeIDGuard = "";
private SimpleString nodeID;
private UUID uuid;
private String nodeGroupName;
Expand Down

0 comments on commit 5ad4ff5

Please sign in to comment.