ASF Bugzilla – Attachment 21126 Details for
Bug 43859
[Patch] [BUILD] Error when compiling CredentialImpl.java
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fixes hashCode() method for Java 1.4.2
CredentialImpl.diff (text/plain), 645 bytes, created by
Jonathan Addison
on 2007-11-14 13:48:38 UTC
(
hide
)
Description:
fixes hashCode() method for Java 1.4.2
Filename:
MIME Type:
Creator:
Jonathan Addison
Created:
2007-11-14 13:48:38 UTC
Size:
645 bytes
patch
obsolete
>Index: src/modules-core/ac/java/src/org/apache/lenya/ac/impl/CredentialImpl.java >=================================================================== >--- src/modules-core/ac/java/src/org/apache/lenya/ac/impl/CredentialImpl.java (revision 595021) >+++ src/modules-core/ac/java/src/org/apache/lenya/ac/impl/CredentialImpl.java (working copy) >@@ -107,6 +107,8 @@ > } > > public int hashCode() { >- return Integer.valueOf(getAccreditable().hashCode() + getRole().hashCode()).hashCode(); >+ Integer integer = new Integer(getAccreditable().hashCode() + getRole().hashCode()); >+ return integer.hashCode(); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43859
: 21126