[java-support] branch main updated: JSPT-103

Rod Widdowson rdw at steadingsoftware.com
Tue Feb 16 13:50:10 UTC 2021


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=069d3b630c0733d9dddf58caec67f7ec8f4f6f23

The following commit(s) were added to refs/heads/main by this push:
       new  069d3b6   JSPT-103
069d3b6 is described below

commit 069d3b630c0733d9dddf58caec67f7ec8f4f6f23
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Feb 16 13:49:25 2021 +0000

    JSPT-103
    
    Deprecate IsJavaVnXYZ predicates
    
    https://issues.shibboleth.net/jira/browse/JSPT-103
---
 .../net/shibboleth/utilities/java/support/testing/TestSupport.java    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/test/java/net/shibboleth/utilities/java/support/testing/TestSupport.java b/src/test/java/net/shibboleth/utilities/java/support/testing/TestSupport.java
index ee12739..e1c24ff 100644
--- a/src/test/java/net/shibboleth/utilities/java/support/testing/TestSupport.java
+++ b/src/test/java/net/shibboleth/utilities/java/support/testing/TestSupport.java
@@ -113,6 +113,7 @@ public class TestSupport {
      *
      * @return <code>true</code> if the runtime environment is Java 7 or later
      */
+    @Deprecated(forRemoval = true, since = "4.1")
     public static boolean isJavaV7OrLater() {
         return getJavaVersion(System.getProperty("java.version")) >= 7;
     }
@@ -123,6 +124,7 @@ public class TestSupport {
      *
      * @return <code>true</code> if the runtime environment is Java 8 or later
      */
+    @Deprecated(forRemoval = true, since = "4.1")
     public static boolean isJavaV8OrLater() {
         return getJavaVersion(System.getProperty("java.version")) >= 8;
     }
@@ -133,6 +135,7 @@ public class TestSupport {
      *
      * @return <code>true</code> if the runtime environment is Java 9 or later
      */
+    @Deprecated(forRemoval = true, since = "4.1")
     public static boolean isJavaV9OrLater() {
         return getJavaVersion(System.getProperty("java.version")) >= 9;
     }
@@ -143,6 +146,7 @@ public class TestSupport {
      *
      * @return <code>true</code> if the runtime environment is Java 11 or later
      */
+    @Deprecated(forRemoval = true, since = "4.1")
     public static boolean isJavaV11OrLater() {
         return getJavaVersion(System.getProperty("java.version")) >= 11;
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list