Skip to content

Commit 7648438

Browse files
committed
Code cleanup for simplifying return statement.
1 parent e1a29ec commit 7648438

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

iterableapi/src/main/java/com/iterable/iterableapi/IterableApi.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,7 @@ public void onNewIntent(Intent intent) {
191191
public boolean isIterableIntent(Intent intent) {
192192
if (intent != null) {
193193
Bundle extras = intent.getExtras();
194-
if (extras != null && extras.containsKey(IterableConstants.ITERABLE_DATA_KEY)) {
195-
return true;
196-
}
194+
return (extras != null && extras.containsKey(IterableConstants.ITERABLE_DATA_KEY));
197195
}
198196
return false;
199197
}

0 commit comments

Comments
 (0)