jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns/ZoneNode.java
changeset 32210 958d823579c3
parent 25859 3317bb8137f4
equal deleted inserted replaced
32209:24bb680a1609 32210:958d823579c3
   152             return newContents;
   152             return newContents;
   153         }
   153         }
   154     }
   154     }
   155 
   155 
   156     /*
   156     /*
   157      * Set this zone's data to expire in <tt>secsToExpiration</tt> seconds.
   157      * Set this zone's data to expire in {@code secsToExpiration} seconds.
   158      */
   158      */
   159     private void setExpiration(long secsToExpiration) {
   159     private void setExpiration(long secsToExpiration) {
   160         expiration = new Date(System.currentTimeMillis() +
   160         expiration = new Date(System.currentTimeMillis() +
   161                               1000 * secsToExpiration);
   161                               1000 * secsToExpiration);
   162     }
   162     }