local variable accidentially hid class field
authorgilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 29 Apr 2005 17:34:06 +0000 (17:34 +0000)
committergilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 29 Apr 2005 17:34:06 +0000 (17:34 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1431 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/serviceprovider/ServiceProviderConfig.java

index 142905f..cd22b83 100644 (file)
@@ -409,19 +409,16 @@ public class ServiceProviderConfig {
                // reprocess the already validated DOM to create a bean with typed fields
                // dump the trash (comments, processing instructions, extra whitespace)
                
-               SPConfigType config     =null;
                try {
                        if (documentElement.getLocalName().equals("ShibbolethTargetConfig")) {
                                ShibbolethTargetConfigDocument configBeanDoc;
                                configBeanDoc = ShibbolethTargetConfigDocument.Factory.parse(configDoc,
                                                new XmlOptions().setLoadStripComments().setLoadStripProcinsts().setLoadStripWhitespace());
-                               config=configBeanDoc.getShibbolethTargetConfig();
                                config = configBeanDoc.getShibbolethTargetConfig();
                        } else if (documentElement.getLocalName().equals("SPConfig")) {
                                SPConfigDocument configBeanDoc;
                                configBeanDoc = SPConfigDocument.Factory.parse(configDoc,
                                                new XmlOptions().setLoadStripComments().setLoadStripProcinsts().setLoadStripWhitespace());
-                               config=configBeanDoc.getSPConfig();
                                config = configBeanDoc.getSPConfig();
                        } else {
                                throw new XmlException("Root element not ShibbolethTargetConfig or SPConfig");