Remove the DoubleCheckedLocking check.

According to CheckStyle, it's no longer supported.
Some equals(), hashCode() and comparison methods for the location classes
Merge pull request #3 from main--/checkstyle-fix

Remove the DoubleCheckedLocking check.
Merge pull request #4 from main--/equals-and-hashcode

Some equals(), hashCode() and equality methods for the location classes