Skip to content

Commit 836b436

Browse files
author
kohsuke
committed
adding a convenience constructor that infers the target type from the outer class.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15598 71c3de6d-444a-0410-be80-ed276b4c234a
1 parent f5fe952 commit 836b436

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,7 @@ public final String getNewViewDetailPage() {
5656
protected ViewDescriptor(Class<? extends View> clazz) {
5757
super(clazz);
5858
}
59+
60+
protected ViewDescriptor() {
61+
}
5962
}

0 commit comments

Comments
 (0)