Update NearBy.java

Clean up.