Issue Details (XML | Word | Printable)

Key: JCR-1383
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Minor Minor
Assignee: Unassigned
Reporter: Dave Brosius
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jackrabbit Content Repository

[PATCH] BinaryValue doesn't find semantically equals byte array?

Created: 14/Feb/08 03:19 AM   Updated: 05/Mar/08 04:01 PM
Return to search
Component/s: jackrabbit-jcr-commons
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works byte_array_equals.patch 2008-02-14 03:19 AM Dave Brosius 0.9 kB
Issue Links:
Duplicate
 

Resolution Date: 14/Feb/08 01:46 PM


 Description  « Hide
Perhaps i am misunderstanding the semantics, but it appears when a BinaryValue is referring to a byte array, the equals method fails unless the two byte arrays are the same ==. I believe this is not the intent. This patch fixes this.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Dave Brosius made changes - 14/Feb/08 03:19 AM
Field Original Value New Value
Attachment byte_array_equals.patch [ 12375546 ]
Stefan Guggisberg made changes - 14/Feb/08 01:46 PM
Link This issue duplicates JCR-320 [ JCR-320 ]
Stefan Guggisberg added a comment - 14/Feb/08 01:46 PM
duplicate of JCR-320

Stefan Guggisberg made changes - 14/Feb/08 01:46 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Duplicate [ 3 ]
Jukka Zitting made changes - 03/Mar/08 05:28 PM
Affects Version/s 1.4 [ 12312447 ]
Fix Version/s 1.4.1 [ 12312919 ]
Jukka Zitting made changes - 05/Mar/08 04:01 PM
Status Resolved [ 5 ] Closed [ 6 ]
Jukka Zitting made changes - 07/Jul/09 01:02 PM
Workflow jira [ 12423496 ] no-reopen-closed, patch-avail [ 12468739 ]