[java-identity-provider COMMIT] /trunk/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resol...
noreply at shibboleth.net
noreply at shibboleth.net
Tue Jan 14 09:21:59 EST 2014
Author: rdw
Date: Tue Jan 14 09:21:59 2014
New Revision: 5193
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5193&view=rev
Log:
Overrides and formatting
Modified:
trunk/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/AttributeResolverParser.java
Modified: trunk/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/AttributeResolverParser.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/AttributeResolverParser.java?rev=5193&r1=5192&r2=5193&view=diff
==============================================================================
--- trunk/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/AttributeResolverParser.java (original)
+++ trunk/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/AttributeResolverParser.java Tue Jan 14 09:21:59 2014
@@ -1,9 +1,9 @@
/*
- * Licensed to the University Corporation for Advanced Internet Development,
- * Inc. (UCAID) under one or more contributor license agreements. See the
+ * Licensed to the University Corporation for Advanced Internet Development,
+ * Inc. (UCAID) under one or more contributor license agreements. See the
* NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The UCAID licenses this file to You under the Apache
- * License, Version 2.0 (the "License"); you may not use this file except in
+ * copyright ownership. The UCAID licenses this file to You under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
@@ -50,12 +50,12 @@
"AttributeResolverType");
/** {@inheritDoc} */
- protected Class<AttributeResolverImpl> getBeanClass(@Nullable Element element) {
+ @Override protected Class<AttributeResolverImpl> getBeanClass(@Nullable Element element) {
return AttributeResolverImpl.class;
}
/** {@inheritDoc} */
- protected void doParse(Element config, ParserContext context, BeanDefinitionBuilder builder) {
+ @Override protected void doParse(Element config, ParserContext context, BeanDefinitionBuilder builder) {
final Map<QName, List<Element>> configChildren = ElementSupport.getIndexedChildElements(config);
List<Element> children;
@@ -64,7 +64,7 @@
// children = configChildren.get(new QName(AttributeResolverNamespaceHandler.NAMESPACE, "PrincipalConnector"));
// SpringSupport.parseCustomElements(children, context);
String id = StringSupport.trimOrNull(config.getAttributeNS(null, "id"));
-
+
if (null == id) {
// Compatibility with V2
id = "Shibboleth.Resolver";
@@ -80,7 +80,7 @@
}
/** {@inheritDoc} */
- protected boolean shouldGenerateId() {
+ @Override protected boolean shouldGenerateId() {
return true;
}
}
More information about the commits
mailing list