mirror of
https://github.com/nicolabs/ldap-plugin.git
synced 2025-09-07 05:14:24 +02:00
Descriptor can infer the corresponding Describable most of the time, because it's the outer class.
This is more DRY. This should also work for anonymous classes, so those changes to follow. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14747 71c3de6d-444a-0410-be80-ed276b4c234a Originally-Committed-As: ac848d085f13b3825fa0d1974fb539fb2ba5e6dd
This commit is contained in:
parent
78d5ce192c
commit
ddb9373dad
|
@ -236,10 +236,6 @@ public class LDAPSecurityRealm extends SecurityRealm {
|
|||
public static final DescriptorImpl DESCRIPTOR = new DescriptorImpl();
|
||||
|
||||
public static final class DescriptorImpl extends Descriptor<SecurityRealm> {
|
||||
private DescriptorImpl() {
|
||||
super(LDAPSecurityRealm.class);
|
||||
}
|
||||
|
||||
public String getDisplayName() {
|
||||
return Messages.LDAPSecurityRealm_DisplayName();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue