[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wss4j-dev
Subject:    [jira] Created: (WSS-157) Remove spurious calls to
From:       "Colm O hEigeartaigh (JIRA)" <jira () apache ! org>
Date:       2009-01-16 15:52:59
Message-ID: 420402184.1232121179659.JavaMail.jira () brutus
[Download RAW message or body]

Remove spurious calls to MessageDigest.reset()
----------------------------------------------

                 Key: WSS-157
                 URL: https://issues.apache.org/jira/browse/WSS-157
             Project: WSS4J
          Issue Type: Improvement
          Components: WSS4J Core
    Affects Versions: 1.5.5
            Reporter: Colm O hEigeartaigh
            Assignee: Colm O hEigeartaigh
            Priority: Minor



There are two instances of spurious calls to MessageDigest.reset() in the codebase:

CryptoBase:418
UsernameToken:676

As MessageDigest.digest() resets the object state, it's not necessary to call reset() \
in both these places. This is a fairly trivial change, but both calls to reset are in \
loops.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic