forked from organicmaps/organicmaps
[android] Fixed review notes
This commit is contained in:
parent
582a0dd970
commit
6218ed03cc
1 changed files with 8 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue