[java-opensaml] 01/02: JPAR-85 - Checkstyle, check final parameters
Tom Zeller
tzeller at dragonacea.biz
Tue Aug 8 17:22:21 EDT 2017
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch master
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=824ed141a61aea6224946fa8bebbfd6c3ef580e5
commit 824ed141a61aea6224946fa8bebbfd6c3ef580e5
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Tue Aug 8 16:05:41 2017 -0500
JPAR-85 - Checkstyle, check final parameters
---
.../main/java/org/opensaml/profile/action/AbstractProfileAction.java | 2 +-
.../src/main/java/org/opensaml/profile/logic/IPRangePredicate.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opensaml-profile-api/src/main/java/org/opensaml/profile/action/AbstractProfileAction.java b/opensaml-profile-api/src/main/java/org/opensaml/profile/action/AbstractProfileAction.java
index d60a68c..24639a0 100644
--- a/opensaml-profile-api/src/main/java/org/opensaml/profile/action/AbstractProfileAction.java
+++ b/opensaml-profile-api/src/main/java/org/opensaml/profile/action/AbstractProfileAction.java
@@ -122,7 +122,7 @@ public abstract class AbstractProfileAction<InboundMessageType, OutboundMessageT
} else {
doPostExecute(profileRequestContext);
}
- } catch (Throwable t2) {
+ } catch (final Throwable t2) {
LoggerFactory.getLogger(AbstractProfileAction.class).warn(
getLogPrefix() + " Unchecked exception/error thrown by doPostInvoke, "
+ "superseding earlier exception/error ", t);
diff --git a/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/IPRangePredicate.java b/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/IPRangePredicate.java
index 43e8f38..1f526d4 100644
--- a/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/IPRangePredicate.java
+++ b/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/IPRangePredicate.java
@@ -65,7 +65,7 @@ public class IPRangePredicate implements Predicate<BaseContext> {
*
* @deprecated
*/
- public void setAddressRanges(@Nonnull @NonnullElements Iterable<IPRange> ranges) {
+ public void setAddressRanges(@Nonnull @NonnullElements final Iterable<IPRange> ranges) {
DeprecationSupport.warn(ObjectType.METHOD, getClass().getName() + ".setAddressRanges(Iterable)", null,
"setAddressRanges(Collection)");
@@ -84,7 +84,7 @@ public class IPRangePredicate implements Predicate<BaseContext> {
*
* @since 3.3.0
*/
- public void setRanges(@Nonnull @NonnullElements Collection<IPRange> ranges) {
+ public void setRanges(@Nonnull @NonnullElements final Collection<IPRange> ranges) {
Constraint.isNotNull(ranges, "Address range collection cannot be null");
addressRanges = new ArrayList<>(Collections2.filter(ranges, Predicates.notNull()));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list