Layer.hashCode is creating a new array just to call hashCode on it. This patch inlines the actual logic from Arrays.hashCode but avoids the gratuitous array creation.
I have my IDE configured to remove trailing whitespaces. Let me know if these unrelated whitespace changes are unacceptable and I'll revert them.
Layer.hashCode
is creating a new array just to callhashCode
on it. This patch inlines the actual logic fromArrays.hashCode
but avoids the gratuitous array creation.I have my IDE configured to remove trailing whitespaces. Let me know if these unrelated whitespace changes are unacceptable and I'll revert them.