[java-identity-provider] branch main updated: Javadoc nits.
Scott Cantor
cantor.2 at osu.edu
Wed Sep 2 22:40:05 UTC 2020
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=8b53502c4a150f31d21479fc71c1c765e35da32b
The following commit(s) were added to refs/heads/main by this push:
new 8b53502c4 Javadoc nits.
8b53502c4 is described below
commit 8b53502c4a150f31d21479fc71c1c765e35da32b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Sep 2 18:39:56 2020 -0400
Javadoc nits.
---
.../idp/cli/AbstractIdPHomeAwareCommandLine.java | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/idp-core/src/main/java/net/shibboleth/idp/cli/AbstractIdPHomeAwareCommandLine.java b/idp-core/src/main/java/net/shibboleth/idp/cli/AbstractIdPHomeAwareCommandLine.java
index a8d1fa485..cfdccce5b 100644
--- a/idp-core/src/main/java/net/shibboleth/idp/cli/AbstractIdPHomeAwareCommandLine.java
+++ b/idp-core/src/main/java/net/shibboleth/idp/cli/AbstractIdPHomeAwareCommandLine.java
@@ -34,8 +34,10 @@ import net.shibboleth.utilities.java.support.primitive.StringSupport;
/**
* An extension to {@link AbstractCommandLine} that understand that idp.home is set via a property
* when called inside the IdP.
-
+ *
* @param <T> argument object type
+ *
+ * @since 4.1.0
*/
public abstract class AbstractIdPHomeAwareCommandLine<T extends CommandLineArguments> extends AbstractCommandLine<T> {
@@ -55,19 +57,21 @@ public abstract class AbstractIdPHomeAwareCommandLine<T extends CommandLineArgum
*/
protected void setIdpHome(@Nullable final String home) {
if (home == null) {
- getLogger().error("net.shibboleth.idp.cli.idp.home propert not send. Could not find IdP Home directory");
+ getLogger().error("net.shibboleth.idp.cli.idp.home property not set, could not find IdP home directory");
return;
}
idpHome = Path.of(home);
if (!Files.exists(idpHome) || !Files.isDirectory(idpHome)) {
- getLogger().error("IdP Home Directory {} did not exist or was not a directory", idpHome);
+ getLogger().error("IdP home directory '{}' did not exist or was not a directory", idpHome);
idpHome = null;
}
}
- /** Return where the IdP is installed to.
- * @return the home directory.
+ /**
+ * Gets IdP installation location.
+ *
+ * @return the home directory
*/
@Nullable protected Path getIdpHome() {
return idpHome;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list