Conversation
7d19b15 to
61db2a9
Compare
|
New Issues (8)Checkmarx found the following issues in this Pull Request
Use @Checkmarx to interact with Checkmarx PR Assistant. |
0b6d411 to
6e5f25f
Compare
Signed-off-by: Simon Bennetts <psiinon@gmail.com>
6e5f25f to
4498e51
Compare
| private static final List<Class<? extends Extension>> DEPENDENCIES; | ||
|
|
||
| static { | ||
| List<Class<? extends Extension>> dep = new ArrayList<>(1); |
There was a problem hiding this comment.
2 when instantiating since we know there are two entries
Or actually can this all be inlined with List.of ?
| sb.append(Constant.messages.getString("httpsinfo.general.cert.self.signed")) | ||
| .append(' ') | ||
| .append(cert.isSelfSignedCertificate()) | ||
| .append(newline); |
There was a problem hiding this comment.
Instead of all these doing appends wouldn't it be simpler if they just used substitution? (To insert the values into the resource messages)
There was a problem hiding this comment.
I see now that this followed the original model of the panel output.
I still think substitution is probably the better choice but I understand if you want to keep it as-is for now.
There was a problem hiding this comment.
Does this need a weight to be sorted/placed correctly?



This PR:
I've left the original file copyright dates but can change them if thats better.