Issue Details (XML | Word | Printable)

Key: CODEC-74
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Gary Gregory
Reporter: Dimitar A. Stoikov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Codec

Allow for uppercase letters output in Hex.encodeHex()

Created: 20/Jan/09 01:14 PM   Updated: 16/Jul/09 03:47 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4

Time Tracking:
Not Specified

Resolution Date: 20/Jan/09 08:54 PM


 Description  « Hide
Perhaps this is recurring. Sorry if this is the case.
As of now, Hex.encodeHex() will only use lowercase letters. There may be clients of this class who need the output in uppercase. Such clients who want to use the library, now need to do the upper-casing externally to the class. Being able to choose the output format will help reducing computing cycles, which is often an objective for library routines.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Gary Gregory made changes - 20/Jan/09 08:51 PM
Field Original Value New Value
Fix Version/s 1.4 [ 12311779 ]
Assignee Gary Gregory [ ggregory@seagullsw.com ]
Issue Type Improvement [ 4 ] New Feature [ 2 ]
Summary allow for uppercase letters as the output of Hex.encodeHex() Allow for uppercase letters as the output of Hex.encodeHex()
Repository Revision Date User Message
ASF #736102 Tue Jan 20 20:53:04 UTC 2009 ggregory [CODEC-74] Allow for uppercase letters as the output of Hex.encodeHex()
Files Changed
MODIFY /commons/proper/codec/trunk/src/test/org/apache/commons/codec/binary/HexTest.java
MODIFY /commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Hex.java

Gary Gregory added a comment - 20/Jan/09 08:54 PM
Added API Hex.encodeHex(byte[], boolean). See code and Javadoc in SVN.

Gary Gregory made changes - 20/Jan/09 08:54 PM
Resolution Fixed [ 1 ]
Fix Version/s Nightly Builds [ 12311728 ]
Status Open [ 1 ] Resolved [ 5 ]
Gary Gregory made changes - 13/Jul/09 08:50 PM
Summary Allow for uppercase letters as the output of Hex.encodeHex() Allow for uppercase letters output in Hex.encodeHex()
Henri Yandell made changes - 16/Jul/09 03:46 AM
Fix Version/s Nightly Builds [ 12311728 ]
Henri Yandell made changes - 16/Jul/09 03:47 AM
Status Resolved [ 5 ] Closed [ 6 ]