[java-metadata-aggregator] branch master updated: MDA-191 - Review date and time handling for Java 8

Ian Young ian at iay.org.uk
Thu Mar 21 10:39:09 EDT 2019


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

iay pushed a commit to branch master
in repository java-metadata-aggregator.

View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=9fe2d81097f4632fb22c52bf9c10059396f37ba1

The following commit(s) were added to refs/heads/master by this push:
       new  9fe2d81   MDA-191 - Review date and time handling for Java 8
9fe2d81 is described below

commit 9fe2d81097f4632fb22c52bf9c10059396f37ba1
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Mar 21 14:16:34 2019 +0000

    MDA-191 - Review date and time handling for Java 8
    
    Update a couple of comments so that they don't refer to milliseconds.
---
 .../shibboleth/metadata/dom/saml/PullUpCacheDurationStage.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/saml/PullUpCacheDurationStage.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/saml/PullUpCacheDurationStage.java
index d77b686..fc35e9b 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/saml/PullUpCacheDurationStage.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/saml/PullUpCacheDurationStage.java
@@ -43,10 +43,10 @@ import net.shibboleth.utilities.java.support.xml.ElementSupport;
 @ThreadSafe
 public class PullUpCacheDurationStage extends AbstractIteratingStage<Element> {
 
-    /** The minimum cache duration in milliseconds. Default value: <code>0</code> */
+    /** The minimum cache duration. Default value: <code>0</code> */
     private Duration minCacheDuration = Duration.ZERO;
 
-    /** The maximum cache duration in milliseconds. Default value: {@value java.lang.Long#MAX_VALUE} */
+    /** The maximum cache duration. Default value: {@value java.lang.Long#MAX_VALUE} */
     private Duration maxCacheDuration = Duration.ofMillis(Long.MAX_VALUE);
 
     /**
@@ -59,9 +59,9 @@ public class PullUpCacheDurationStage extends AbstractIteratingStage<Element> {
     }
 
     /**
-     * Sets the minimum cache duration in milliseconds.
+     * Sets the minimum cache duration.
      * 
-     * @param duration the minimum cache duration in milliseconds
+     * @param duration the minimum cache duration
      */
     public synchronized void setMinimumCacheDuration(final Duration duration) {
         ComponentSupport.ifDestroyedThrowDestroyedComponentException(this);

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


More information about the commits mailing list