Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit abf8421

Browse files
jonahbronsamtstern
authored andcommitted
Made location object creation from snapshot function public (#57)
1 parent f0834db commit abf8421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/firebase/geofire/GeoFire.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void onCancelled(DatabaseError databaseError) {
8989
}
9090
}
9191

92-
static GeoLocation getLocationValue(DataSnapshot dataSnapshot) {
92+
public static GeoLocation getLocationValue(DataSnapshot dataSnapshot) {
9393
try {
9494
GenericTypeIndicator<Map<String, Object>> typeIndicator = new GenericTypeIndicator<Map<String, Object>>() {};
9595
Map<String, Object> data = dataSnapshot.getValue(typeIndicator);

0 commit comments

Comments
 (0)