mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
leaving the view name null is important for clean persistence
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13968 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
10ac38c370
commit
2b4892d835
1 file changed
+5
-1
@@ -331,7 +331,7 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node,
|
||||
private transient final LogRecorderManager log = new LogRecorderManager();
|
||||
|
||||
public Hudson(File root, ServletContext context) throws IOException {
|
||||
super(Messages.Hudson_ViewName());
|
||||
super(null);
|
||||
this.root = root;
|
||||
this.servletContext = context;
|
||||
if(theInstance!=null)
|
||||
@@ -478,6 +478,10 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node,
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getViewName() {
|
||||
return Messages.Hudson_ViewName();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the SCM descriptor by name. Primarily used for making them web-visible.
|
||||
|
||||
Reference in new issue
Block a user