[java-shib-shared] branch main updated: JSSH-38 net.shibboleth.shared.spring.config.StringBooleanToPredicateConverterTest Failure on Windows Latest JDK17
Rod Widdowson
rdw at steadingsoftware.com
Tue Aug 15 13:22:14 UTC 2023
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-shib-shared.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=c892232b93365a0d48035637e45187ae581bdc65
The following commit(s) were added to refs/heads/main by this push:
new c892232b JSSH-38 net.shibboleth.shared.spring.config.StringBooleanToPredicateConverterTest Failure on Windows Latest JDK17
c892232b is described below
commit c892232b93365a0d48035637e45187ae581bdc65
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Aug 14 15:54:57 2023 +0100
JSSH-38 net.shibboleth.shared.spring.config.StringBooleanToPredicateConverterTest Failure on Windows Latest JDK17
https://shibboleth.atlassian.net/browse/JSSH-38
Add a default getter to force Spring to decide which converter to use.
---
.../spring/config/StringBooleanToPredicateConverterTest.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/shib-spring/src/test/java/net/shibboleth/shared/spring/config/StringBooleanToPredicateConverterTest.java b/shib-spring/src/test/java/net/shibboleth/shared/spring/config/StringBooleanToPredicateConverterTest.java
index 06117b51..830441b7 100644
--- a/shib-spring/src/test/java/net/shibboleth/shared/spring/config/StringBooleanToPredicateConverterTest.java
+++ b/shib-spring/src/test/java/net/shibboleth/shared/spring/config/StringBooleanToPredicateConverterTest.java
@@ -164,6 +164,14 @@ public class StringBooleanToPredicateConverterTest extends AbstractTestNGSpringC
return nameAsPredicate;
}
+ /** Default Getter.
+ * This keeps Spring happy. See JSSH-38 for why.
+ * @return Returns the nameAsPredicate.
+ */
+ public Predicate<?> getName() {
+ return nameAsPredicate;
+ }
+
/** Getter.
* @return Returns the nameAsString.
*/
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list