Severity Description Resource In Folder Location Creation Time
Unnecessary cast to type int for expression of type byte. It is already compatible with the argument type int HashCodeBuilder.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder line 471 July 23, 2003 11:22:36 AM Unnecessary cast to type int for expression of type char. It is already compatible with the argument type int HashCodeBuilder.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder line 460 July 23, 2003 11:22:36 AM Unnecessary cast to type int for expression of type short. It is already compatible with the argument type int HashCodeBuilder.java Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/builder line 449 July 23, 2003 11:22:36 AM git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137496 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
247c97f507
commit
43dd7284cf
|
@ -112,7 +112,7 @@ import java.lang.reflect.Modifier;
|
|||
* @author Gary Gregory
|
||||
* @author Pete Gieser
|
||||
* @since 1.0
|
||||
* @version $Id: HashCodeBuilder.java,v 1.16 2003/07/21 23:30:42 scolebourne Exp $
|
||||
* @version $Id: HashCodeBuilder.java,v 1.17 2003/07/25 23:03:30 ggregory Exp $
|
||||
*/
|
||||
public class HashCodeBuilder {
|
||||
|
||||
|
@ -446,7 +446,7 @@ public class HashCodeBuilder {
|
|||
* @return this
|
||||
*/
|
||||
public HashCodeBuilder append(short value) {
|
||||
iTotal = iTotal * iConstant + (int) value;
|
||||
iTotal = iTotal * iConstant + value;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -457,7 +457,7 @@ public class HashCodeBuilder {
|
|||
* @return this
|
||||
*/
|
||||
public HashCodeBuilder append(char value) {
|
||||
iTotal = iTotal * iConstant + (int) value;
|
||||
iTotal = iTotal * iConstant + value;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -468,7 +468,7 @@ public class HashCodeBuilder {
|
|||
* @return this
|
||||
*/
|
||||
public HashCodeBuilder append(byte value) {
|
||||
iTotal = iTotal * iConstant + (int) value;
|
||||
iTotal = iTotal * iConstant + value;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue