Skip to content
Permalink
Browse files

[FIXED JENKINS-18680] Update members of a ListView using a regular li…

…stener, not View.onJobRenamed which does not work with folders.

Originally-Committed-As: 6d3c2e0d849dd76b6507daca1cc910f75418e941
  • Loading branch information...
jglick committed Dec 19, 2013
1 parent 9d53ebc commit 511bd4998da93f4ec224273489cb716b6ad57f7f
Showing with 0 additions and 6 deletions.
  1. +0 −6 test/src/main/java/org/jvnet/hudson/test/MockFolder.java
@@ -181,9 +181,6 @@ private ViewGroupMixIn vgmixin() {
@Override public void onRenamed(TopLevelItem item, String oldName, String newName) throws IOException {
items.remove(oldName);
items.put(newName, item);
for (View v : views) {
v.onJobRenamed(item, oldName, newName);
}
}

@Override public void renameTo(String newName) throws IOException {
@@ -193,9 +190,6 @@ private ViewGroupMixIn vgmixin() {
@Override public void onDeleted(TopLevelItem item) throws IOException {
ItemListener.fireOnDeleted(item);
items.remove(item.getName());
for (View v : views) {
v.onJobRenamed(item, item.getName(), null);
}
}

@Override public boolean canAdd(TopLevelItem item) {

0 comments on commit 511bd49

Please sign in to comment.
You can’t perform that action at this time.