-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b08
There are two multiple-level if blocks in displayMessagesAndResult() method where checking of various jarsigner flags are done. They should be refactored to keep the inner checks so we won’t check a flag multiple times. The outer checks should be removed. This is to make checking of each flag independent, and to make the code cleaner.
The checking of ‘hasExpiredTsaCert' flag needs to be consolidated and is checked against with ‘signerNotExpired' flag in order to issue adequate messages.
The checking of ‘hasExpiredTsaCert' flag needs to be consolidated and is checked against with ‘signerNotExpired' flag in order to issue adequate messages.