diff --git a/core/src/main/java/hudson/tools/ToolLocationNodeProperty.java b/core/src/main/java/hudson/tools/ToolLocationNodeProperty.java index 8cc9d34f3e..6d0a9440b8 100644 --- a/core/src/main/java/hudson/tools/ToolLocationNodeProperty.java +++ b/core/src/main/java/hudson/tools/ToolLocationNodeProperty.java @@ -150,7 +150,7 @@ public class ToolLocationNodeProperty extends NodeProperty { } public String getKey() { - return type.getClass().getName() + "@" + name; + return type + "@" + name; } }