| Index: src/org/adblockplus/android/Preferences.java |
| diff --git a/src/org/adblockplus/android/Preferences.java b/src/org/adblockplus/android/Preferences.java |
| index 29440c03635291965b34993c37e66e43a219b1be..3f63d48b9366fe0dbf9639b72f635066dd323e4f 100755 |
| --- a/src/org/adblockplus/android/Preferences.java |
| +++ b/src/org/adblockplus/android/Preferences.java |
| @@ -23,6 +23,7 @@ import java.io.OutputStream; |
| import java.util.Calendar; |
| import java.util.Date; |
| +import org.apache.commons.lang.StringUtils; |
| import org.jraf.android.backport.switchwidget.SwitchPreference; |
| import android.app.AlertDialog; |
| @@ -538,7 +539,7 @@ public class Preferences extends SummarizedPreferences |
| if (summary != null) |
| { |
| builder.append(summary); |
| - if (text != "") |
| + if (StringUtils.isNotEmpty(text)) |
| { |
| builder.append(" ("); |
| final int id = getResources().getIdentifier(text, "string", getPackageName()); |