Skip to content

Commit

Permalink
style: remove redundant cast
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeCrp committed Dec 1, 2018
1 parent ac2d650 commit fdf0b7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected void onCreate(Bundle savedInstanceState) {
public void onDataChange(@NonNull DataSnapshot dataSnapshot) {
GenericTypeIndicator<TravelList> travelListType = new GenericTypeIndicator<TravelList>() {
};
TravelList list = (TravelList) dataSnapshot.getValue(travelListType);
TravelList list = dataSnapshot.getValue(travelListType);


if(list != null) {
Expand Down

0 comments on commit fdf0b7c

Please sign in to comment.