[java-support] 02/03: IDP-1397: Removal of deprecated features
Brent Putman
putmanb at georgetown.edu
Tue Feb 18 20:14:33 EST 2020
This is an automated email from the git hooks/post-receive script.
putmanb pushed a commit to branch master
in repository java-support.
View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=1fc3eda5dc407279d7fbb66d7ae3dad61aa35301
commit 1fc3eda5dc407279d7fbb66d7ae3dad61aa35301
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Tue Feb 18 19:19:03 2020 -0500
IDP-1397: Removal of deprecated features
This is the unit test for our own deprecated code. We can suppress
the deprecation warning for removal and get rid of the noise.
When we do remove the non-test code in a future release, we'll
know to remove the tests b/c the compile will fail.
---
.../shibboleth/utilities/java/support/primitive/ObjectSupportTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/test/java/net/shibboleth/utilities/java/support/primitive/ObjectSupportTest.java b/src/test/java/net/shibboleth/utilities/java/support/primitive/ObjectSupportTest.java
index 9ba22bb..e5b47a2 100644
--- a/src/test/java/net/shibboleth/utilities/java/support/primitive/ObjectSupportTest.java
+++ b/src/test/java/net/shibboleth/utilities/java/support/primitive/ObjectSupportTest.java
@@ -41,6 +41,7 @@ public class ObjectSupportTest {
Assert.assertNull(ObjectSupport.firstNonNull());
}
+ @SuppressWarnings("removal")
@Test public void testHashCode() {
ComplexClass c1 = new ComplexClass(Integer.valueOf(1), Double.valueOf(3.4), "String!");
ComplexClass c2 = new ComplexClass("String3", Integer.valueOf(1243), Boolean.valueOf(false));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list