[java-support] branch main updated: Add the ability to deprecate a command-line option

Ian Young ian at iay.org.uk
Tue Oct 27 15:14:37 UTC 2020


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

iay 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=15ef2ff35a4bdfc6c697a14cf4312839246952ba

The following commit(s) were added to refs/heads/main by this push:
       new  15ef2ff   Add the ability to deprecate a command-line option
15ef2ff is described below

commit 15ef2ff35a4bdfc6c697a14cf4312839246952ba
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Tue Oct 27 15:14:33 2020 +0000

    Add the ability to deprecate a command-line option
---
 .../utilities/java/support/primitive/DeprecationSupport.java     | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/main/java/net/shibboleth/utilities/java/support/primitive/DeprecationSupport.java b/src/main/java/net/shibboleth/utilities/java/support/primitive/DeprecationSupport.java
index 5442b1f..5309806 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/primitive/DeprecationSupport.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/primitive/DeprecationSupport.java
@@ -83,7 +83,14 @@ public final class DeprecationSupport {
         ACTION("Spring WebFlow action"),
         
         /** Configuration approach. */
-        CONFIGURATION("configuration");
+        CONFIGURATION("configuration"),
+        
+        /**
+         * Command-line option.
+         *
+         * @since 8.1
+         */
+        CLI_OPTION("command-line option");
         
         /** Printed version. */
         @Nonnull @NotEmpty private final String text;

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


More information about the commits mailing list