[java-opensaml] branch main updated: OSJ-357 - Scratch context map is abusing generics
Scott Cantor
cantor.2 at osu.edu
Fri Jul 29 14:24:33 UTC 2022
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=566bcc1dac3b9480651e121edd58de6400a4e0fe
The following commit(s) were added to refs/heads/main by this push:
new 566bcc1da OSJ-357 - Scratch context map is abusing generics
566bcc1da is described below
commit 566bcc1dac3b9480651e121edd58de6400a4e0fe
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Jul 29 10:23:34 2022 -0400
OSJ-357 - Scratch context map is abusing generics
https://shibboleth.atlassian.net/browse/OSJ-357
---
.../src/main/java/org/opensaml/messaging/context/ScratchContext.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/ScratchContext.java b/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/ScratchContext.java
index 4776c6cbe..f386751fb 100644
--- a/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/ScratchContext.java
+++ b/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/ScratchContext.java
@@ -32,7 +32,7 @@ import net.shibboleth.utilities.java.support.annotation.constraint.Live;
public final class ScratchContext extends BaseContext {
/** Map of scratch data. */
- @Nonnull private Map<?,?> map;
+ @Nonnull private Map<Object,Object> map;
/** Constructor. */
public ScratchContext() {
@@ -44,7 +44,7 @@ public final class ScratchContext extends BaseContext {
*
* @return the map
*/
- @Nonnull @Live public Map<?,?> getMap() {
+ @Nonnull @Live public Map<Object,Object> getMap() {
return map;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list