Closed OmarMorales71 closed 3 years ago
Can one of the admins verify this patch?
Thanks for the PR @OmarMorales71! I will work through WebFilterConfig and review asap.
verify
@enozcan I have fixed what you asked for. I checked that my solution works with boolean, int, double, etc. (not just boolean).
verify
verify
Thanks for the PR @OmarMorales71!
Method getValue try to get a property with a string value (getProperty()). When you try to get a Boolean property, this method return a null (because it just can get String values) and that's the reason the app put the default value to that property.
I fixed it using the get() method instead getProperty(). get() return an Object and after that I cast it to the type of value I need (in this case Boolean).
Check List:
Fixes #95 Unit tests : YES