Skip to content

Commit ee50b59

Browse files
committed
call new method in TopLevelItemDescriptor
1 parent 6333a2a commit ee50b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/hudson/model/TopLevelItemDescriptor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,6 @@ public static ExtensionList<TopLevelItemDescriptor> all() {
293293

294294
@Restricted(NoExternalUse.class)
295295
public FormValidation doCheckDisplayNameOrNull(@AncestorInPath TopLevelItem item, @QueryParameter String value) {
296-
return Jenkins.get().doCheckDisplayName(value, item.getName());
296+
return Jenkins.get().checkDisplayName(value, item);
297297
}
298298
}

0 commit comments

Comments
 (0)