- changed status to open
Values being OR'd with themselves in test cases.
Issue #218
closed
There are 6 incidences of new KeyUsage instances being created in your test cases where KeyUsage.nonRepudiation is OR'd with its self. This breaks some compiler setups where code styles are strictly enforced.
example:
KeyUsage keyUsage = new KeyUsage(KeyUsage.nonRepudiation | KeyUsage.nonRepudiation);
The attached image shows the files and lines where this is happening.
Comments (4)
-
-
Fixed in commit b455c3d.
-
- changed status to resolved
Tagged commit as v4.36.1 and pushed out to Maven Central.
Cheers ~ Vladimir
-
reporter - changed status to closed
Thank you
- Log in to comment
Thanks for reporting this. I'll remove the redundant OR.