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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to