[java-shib-profile] branch main updated: Add some missing annotations
Rod Widdowson
rdw at steadingsoftware.com
Tue Jun 20 14:21:29 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-profile.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-profile.git;a=commit;h=57f532460eec9773bede54a303a8064269315ffe
The following commit(s) were added to refs/heads/main by this push:
new 57f5324 Add some missing annotations
57f5324 is described below
commit 57f532460eec9773bede54a303a8064269315ffe
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jun 20 15:21:24 2023 +0100
Add some missing annotations
---
.../installablecomponent/InstallableComponentInfo.java | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/shib-profile-api/src/main/java/net/shibboleth/profile/installablecomponent/InstallableComponentInfo.java b/shib-profile-api/src/main/java/net/shibboleth/profile/installablecomponent/InstallableComponentInfo.java
index f01ef01..469537d 100644
--- a/shib-profile-api/src/main/java/net/shibboleth/profile/installablecomponent/InstallableComponentInfo.java
+++ b/shib-profile-api/src/main/java/net/shibboleth/profile/installablecomponent/InstallableComponentInfo.java
@@ -289,13 +289,13 @@ public abstract class InstallableComponentInfo {
public static class VersionInfo {
/** Maximum version - this version is NOT SUPPORTED. */
- private final InstallableComponentVersion maxSupported;
+ @Nonnull private final InstallableComponentVersion maxSupported;
/** Minimum version - this version IS supported. */
- private final InstallableComponentVersion minSupported;
+ @Nonnull private final InstallableComponentVersion minSupported;
/** support level. */
- private final SupportLevel supportLevel;
+ @Nonnull private final SupportLevel supportLevel;
/**
* Constructor.
@@ -304,7 +304,7 @@ public abstract class InstallableComponentInfo {
* @param min support level
* @param support support level
*/
- public VersionInfo(final InstallableComponentVersion max, final InstallableComponentVersion min, final SupportLevel support) {
+ public VersionInfo(@Nonnull final InstallableComponentVersion max, @Nonnull final InstallableComponentVersion min, @Nonnull final SupportLevel support) {
maxSupported = max;
minSupported = min;
supportLevel = support;
@@ -313,21 +313,21 @@ public abstract class InstallableComponentInfo {
/** get Maximum version - this version is NOT SUPPORTED.
* @return Returns the maxSupported.
*/
- public InstallableComponentVersion getMaxSupported() {
+ @Nonnull public InstallableComponentVersion getMaxSupported() {
return maxSupported;
}
/** get Minimum (IdP) version - this version IS supported.
* @return Returns the minSupported.
*/
- public InstallableComponentVersion getMinSupported() {
+ @Nonnull public InstallableComponentVersion getMinSupported() {
return minSupported;
}
/** get support level.
* @return Returns the supportLevel.
*/
- public SupportLevel getSupportLevel() {
+ @Nonnull public SupportLevel getSupportLevel() {
return supportLevel;
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list