commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trei...@apache.org
Subject cvs commit: jakarta-commons-sandbox/id/src/java/org/apache/commons/id/uuid VersionFourGenerator.java
Date Sun, 02 May 2004 08:51:54 GMT
treilly     2004/05/02 01:51:54

  Modified:    id/src/java/org/apache/commons/id/uuid
                        VersionFourGenerator.java
  Log:
  Removing NoSuchAlgorithException, NoSuchProviderException from nextIdentifier(boolean secure)
  
  Revision  Changes    Path
  1.5       +1 -3      jakarta-commons-sandbox/id/src/java/org/apache/commons/id/uuid/VersionFourGenerator.java
  
  Index: VersionFourGenerator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/id/src/java/org/apache/commons/id/uuid/VersionFourGenerator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- VersionFourGenerator.java	2 May 2004 08:07:23 -0000	1.4
  +++ VersionFourGenerator.java	2 May 2004 08:51:54 -0000	1.5
  @@ -82,10 +82,8 @@
            *
            * @param secure indicates whether or not to use <code>SecureRandom</code>
in generating the random bits.
            * @return a new version four UUID that was generated by either a <code>Random</code>
or <code>SecureRandom</code>.
  -         * @throws NoSuchAlgorithmException thrown if the secure option is true and the
PRNG algorithm is not available.
  -         * @throws NoSuchProviderException thrown if the secure option is true and the
PRNG provider package is not available.
            */
  -        public Object nextIdentifier(boolean secure) throws NoSuchAlgorithmException, NoSuchProviderException
{
  +        public Object nextIdentifier(boolean secure)  {
               if (secure) {
                   return nextUUID(true);
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message