mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-15 08:13:43 +01:00
Made magic number constants private.
Former-commit-id: 12539d50efb17790b770934d10b953e0fd180c8a
This commit is contained in:
@@ -29,8 +29,15 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class Evidence implements Serializable, Comparable<Evidence> {
|
||||
|
||||
public static final int MAGIC_HASH_INIT_VALUE = 3;
|
||||
public static final int MAGIC_HASH_MULTIPLIER = 67;
|
||||
/**
|
||||
* Used as starting point for generating the value in {@link #hashCode()}.
|
||||
*/
|
||||
private static final int MAGIC_HASH_INIT_VALUE = 3;
|
||||
|
||||
/**
|
||||
* Used as a multiplier for generating the value in {@link #hashCode()}.
|
||||
*/
|
||||
private static final int MAGIC_HASH_MULTIPLIER = 67;
|
||||
|
||||
/**
|
||||
* Creates a new Evidence object.
|
||||
|
||||
Reference in New Issue
Block a user