Apply more functional style

This commit keeps the original behavior, but it may cause a cast error.
It is better to use filter() to avoid the cast error.

Change-Id: Ieb3150e9775ed0689b3861de5179ff1346d2a3e6
1 file changed
tree: 937f135b3c8741169ace9308d751414570f0432f
  1. pom.xml
  2. src/