aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/api/activity
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-15 20:25:15 +0300
committerGravatar Vitaly Takmazov2022-12-15 20:26:51 +0300
commitb1267ab73fd601dcc1636a64d86135d72631b525 (patch)
treebdc1ef50f1987bebcdfa776c781849e2c7da549b /src/main/java/com/juick/www/api/activity
parentc9617232d5eeced643b510c108384619a7fc79b0 (diff)
Apply IDEA suggestions
Diffstat (limited to 'src/main/java/com/juick/www/api/activity')
-rw-r--r--src/main/java/com/juick/www/api/activity/helpers/ContextTypeFilter.java4
1 files changed, 2 insertions, 2 deletions
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");
}
}