From ddb9373dada044d615eff221cdb40aa05a8906df Mon Sep 17 00:00:00 2001 From: kohsuke Date: Fri, 23 Jan 2009 16:09:15 +0000 Subject: [PATCH] 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 --- core/src/main/java/hudson/security/LDAPSecurityRealm.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/src/main/java/hudson/security/LDAPSecurityRealm.java b/core/src/main/java/hudson/security/LDAPSecurityRealm.java index f6e1fe0..3bf9394 100644 --- a/core/src/main/java/hudson/security/LDAPSecurityRealm.java +++ b/core/src/main/java/hudson/security/LDAPSecurityRealm.java @@ -236,10 +236,6 @@ public class LDAPSecurityRealm extends SecurityRealm { public static final DescriptorImpl DESCRIPTOR = new DescriptorImpl(); public static final class DescriptorImpl extends Descriptor { - private DescriptorImpl() { - super(LDAPSecurityRealm.class); - } - public String getDisplayName() { return Messages.LDAPSecurityRealm_DisplayName(); }