[android] Fixed review notes

This commit is contained in:
Dmitry Donskoy 2018-08-07 13:55:47 +03:00 committed by Aleksey Belousov
parent 582a0dd970
commit 6218ed03cc

View file

@ -33,11 +33,11 @@ public class SearchResult implements SearchData, PopularityProvider
public final float rating;
public final int stars;
public final int openNow;
public final boolean popularityHasHigherPriority;
private final boolean mHasPopularityHigherPriority;
public Description(FeatureId featureId, String featureType, String region, String distance,
String cuisine, String pricing, float rating, int stars, int openNow,
boolean popularityHasHigherPriority)
boolean hasPopularityHigherPriority)
{
this.featureId = featureId;
this.featureType = featureType;
@ -48,7 +48,12 @@ public class SearchResult implements SearchData, PopularityProvider
this.rating = rating;
this.stars = stars;
this.openNow = openNow;
this.popularityHasHigherPriority = popularityHasHigherPriority;
mHasPopularityHigherPriority = hasPopularityHigherPriority;
}
public boolean hasPopularityHigherPriority()
{
return mHasPopularityHigherPriority;
}
}