Use `Integer.valueOf(MessagingSmsConstMaps.smsStateDictS2I.get(filter.getString("state")))` instead.

`valueOf` factory method is recommended for less memory usage.