You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem is that this class has two constructors NativeTotalItem(String, String...) NativeTotalItem(String, List<String>)
So if accidentally somebody will create native total item in JSON with attributeIdentifiers = null this will fail as it would not be able to pick right constructor NativeTotalItem(String, null) matches both constructors.
I see here two options how to solve it:
a) remove null check in first constructor as its not needed
b) remove second constructor as they are pretty much the same and looks to me like shortcut
Activity