[java-opensaml] branch master updated: Remove unused interfaces - these would probably be lambdas now.
Scott Cantor
cantor.2 at osu.edu
Wed Feb 20 19:55:04 EST 2019
This is an automated email from the git hooks/post-receive script.
scantor 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=f60567085fb0b4f9579091dbc1c90337998637c9
The following commit(s) were added to refs/heads/master by this push:
new f605670 Remove unused interfaces - these would probably be lambdas now.
f605670 is described below
commit f60567085fb0b4f9579091dbc1c90337998637c9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Feb 20 19:54:58 2019 -0500
Remove unused interfaces - these would probably be lambdas now.
---
.../context/MessageContextEvaluatingFunctor.java | 49 ----------------------
.../context/MessageContextMutatingFunctor.java | 42 -------------------
2 files changed, 91 deletions(-)
diff --git a/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/MessageContextEvaluatingFunctor.java b/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/MessageContextEvaluatingFunctor.java
deleted file mode 100644
index 54697c0..0000000
--- a/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/MessageContextEvaluatingFunctor.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * 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
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.opensaml.messaging.context;
-
-import org.opensaml.messaging.MessageException;
-
-
-/**
- * An interface for components which evaluate a {@link MessageContext} as the basis for extracting,
- * calculating, or otherwise producing a specific data value.
- *
- * <p>
- * Implementations should not have side effects and should not modify any data in the
- * underlying message context. For a component that is intended to allow message context
- * modification, see {@link MessageContextMutatingFunctor}.
- * </p>
- *
- * @param <MessageType> the message type of the message context on which to operate
- * @param <T> the type of product of the component
- */
-public interface MessageContextEvaluatingFunctor<MessageType, T> {
-
- /**
- * Using the specified MessageContext as the evaluation context,
- * produce a data value product of the appropriate type.
- *
- * @param msgContext the message context to evaluate
- * @return value product based on the message context, or null
- *
- * @throws MessageException if there is a fatal error evaluating the context
- */
- public T evaluate(MessageContext<MessageType> msgContext) throws MessageException;
-
-}
diff --git a/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/MessageContextMutatingFunctor.java b/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/MessageContextMutatingFunctor.java
deleted file mode 100644
index 83b0a35..0000000
--- a/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/MessageContextMutatingFunctor.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * 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
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.opensaml.messaging.context;
-
-import org.opensaml.messaging.MessageException;
-
-
-/**
- * An interface for components which mutate a {@link MessageContext}, or data contained therein,
- * based on an input value of a particular type.
- *
- * @param <MessageType> the message type of the message context on which to operate
- * @param <T> the type of input to the operation to be performed on the message context
- */
-public interface MessageContextMutatingFunctor<MessageType, T> {
-
- /**
- * Mutate the specified message context based on the supplied input value.
- *
- * @param msgContext the current message context
- * @param input the input to the mutation operation
- *
- * @throws MessageException if there is a fatal error processing the context
- */
- public void mutate(MessageContext<MessageType> msgContext, T input) throws MessageException;
-
-}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list