[java-identity-provider] branch main updated: Remove defaulted methods from CommandLineArguments interface.
Scott Cantor
cantor.2 at osu.edu
Tue Jun 27 17:35:15 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=f9bc9fa61a4e0bf174d15aeb094803771e14e0aa
The following commit(s) were added to refs/heads/main by this push:
new f9bc9fa61 Remove defaulted methods from CommandLineArguments interface.
f9bc9fa61 is described below
commit f9bc9fa61a4e0bf174d15aeb094803771e14e0aa
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jun 27 13:35:12 2023 -0400
Remove defaulted methods from CommandLineArguments interface.
---
.../java/net/shibboleth/idp/cli/CommandLineArguments.java | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/idp-cli/src/main/java/net/shibboleth/idp/cli/CommandLineArguments.java b/idp-cli/src/main/java/net/shibboleth/idp/cli/CommandLineArguments.java
index 7cb6d37e4..6fc2e25d2 100644
--- a/idp-cli/src/main/java/net/shibboleth/idp/cli/CommandLineArguments.java
+++ b/idp-cli/src/main/java/net/shibboleth/idp/cli/CommandLineArguments.java
@@ -63,9 +63,7 @@ public interface CommandLineArguments {
*
* @since 4.2.0
*/
- @Nullable @NotEmpty default String getBasicAuthHeader() {
- return null;
- }
+ @Nullable @NotEmpty String getBasicAuthHeader();
/**
* Values of "header" parameter.
@@ -74,9 +72,7 @@ public interface CommandLineArguments {
*
* @since 4.2.0
*/
- @Nullable @NotLive @Unmodifiable default Map<String,String> getHeaders() {
- return null;
- }
+ @Nullable @NotLive @Unmodifiable Map<String,String> getHeaders();
/**
* Value of method parameter.
@@ -85,8 +81,6 @@ public interface CommandLineArguments {
*
* @since 4.2.0
*/
- @Nullable @NotEmpty default String getMethod() {
- return null;
- }
+ @Nullable @NotEmpty String getMethod();
}
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list