diff options
author | David Luhmer <david-dev@live.de> | 2018-07-12 20:54:11 +0300 |
---|---|---|
committer | David Luhmer <david-dev@live.de> | 2018-07-12 20:54:11 +0300 |
commit | 7789847c0d043d702765985e6284b8e38879f78c (patch) | |
tree | eb425c49c3e9b233d166bc60e993bdba42d97b93 /News-Android-App | |
parent | 218e47afea54d37a02654c41904bb9aab7f142af (diff) |
use equals instead of == for string comparison
Diffstat (limited to 'News-Android-App')
-rw-r--r-- | News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/helper/Search.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/helper/Search.java b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/helper/Search.java index a5746244..31135a27 100644 --- a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/helper/Search.java +++ b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/helper/Search.java @@ -38,7 +38,7 @@ public class Search { } List<RssItem> items = null; - if (sqlSelectStatement != "") { + if (!sqlSelectStatement.equals("")) { dbConn.insertIntoRssCurrentViewTable(sqlSelectStatement); items = dbConn.getCurrentRssItemView(0); } |