mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-16 15:07:17 +00:00
private immutable fields might as well be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024083 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ff8d2b1afd
commit
b2152cf627
@ -1791,12 +1791,12 @@ public class TreeBidiMap<K extends Comparable<K>, V extends Comparable<V>> imple
|
||||
*/
|
||||
static class Node<K extends Comparable<K>, V extends Comparable<V>> implements Map.Entry<K, V>, KeyValue<K, V> {
|
||||
|
||||
private K key;
|
||||
private V value;
|
||||
private Node<K, V>[] leftNode;
|
||||
private Node<K, V>[] rightNode;
|
||||
private Node<K, V>[] parentNode;
|
||||
private boolean[] blackColor;
|
||||
private final K key;
|
||||
private final V value;
|
||||
private final Node<K, V>[] leftNode;
|
||||
private final Node<K, V>[] rightNode;
|
||||
private final Node<K, V>[] parentNode;
|
||||
private final boolean[] blackColor;
|
||||
private int hashcodeValue;
|
||||
private boolean calculatedHashCode;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user