From b1267ab73fd601dcc1636a64d86135d72631b525 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 15 Dec 2022 20:25:15 +0300 Subject: Apply IDEA suggestions --- .../java/com/juick/www/api/activity/helpers/ContextTypeFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/juick/www/api/activity/helpers') diff --git a/src/main/java/com/juick/www/api/activity/helpers/ContextTypeFilter.java b/src/main/java/com/juick/www/api/activity/helpers/ContextTypeFilter.java index e8a1dfab..475e15bf 100644 --- a/src/main/java/com/juick/www/api/activity/helpers/ContextTypeFilter.java +++ b/src/main/java/com/juick/www/api/activity/helpers/ContextTypeFilter.java @@ -21,9 +21,9 @@ public class ContextTypeFilter { @Override public boolean equals(Object obj) { - if (obj == null || !(obj instanceof String)) { + if (!(obj instanceof String)) { return true; } - return ((String)obj).equals("Context"); + return obj.equals("Context"); } } -- cgit v1.2.3