Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Make calcLocation() private
Browse files Browse the repository at this point in the history
  • Loading branch information
micrusa committed Jun 19, 2020
1 parent 1b5db76 commit 51ee554
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static double getLon(){
return location[1];
}

public static void calcLocation(){
private static void calcLocation(){
if(lastQuery == 0 || System.currentTimeMillis() - lastQuery >= 24 * 60 * 1000){
try {
location = queryLocation();
Expand Down

0 comments on commit 51ee554

Please sign in to comment.