Simplify boolean expressions

This commit is contained in:
addshore 2017-05-13 13:01:45 +02:00
parent f019aa2865
commit 5fe95813df
3 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ public class CacheController {
public void cacheCategory() {
List<String> pointCatList = new ArrayList<>();
if (MwVolleyApi.GpsCatExists.getGpsCatExists() == true) {
if (MwVolleyApi.GpsCatExists.getGpsCatExists()) {
pointCatList.addAll(MwVolleyApi.getGpsCat());
Timber.d("Categories being cached: %s", pointCatList);
} else {