Update CheckLocation.java

update CheckLocation