Fix some codacy issues.
This commit is contained in:
parent
eb3979dc83
commit
17e2a7c6f0
8 changed files with 47 additions and 7 deletions
|
|
@ -4,4 +4,4 @@
|
|||
<rulesets>
|
||||
<ruleset name="Custom Rules" ref="VM-Operator/ruleset.xml" refcontext="workspace" />
|
||||
</rulesets>
|
||||
</eclipse-pmd>
|
||||
</eclipse-pmd>
|
||||
|
|
@ -265,7 +265,7 @@ public class VmAccess extends FreeMarkerConlet<VmAccess.ResourceModel> {
|
|||
public void onConsoleConfigured(ConsoleConfigured event,
|
||||
ConsoleConnection connection) throws InterruptedException,
|
||||
IOException {
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({ "unchecked", "PMD.PrematureDeclaration" })
|
||||
final var rendered
|
||||
= (Set<ResourceModel>) connection.session().get(RENDERED);
|
||||
connection.session().remove(RENDERED);
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
span[role="button"].svg-icon {
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
|
||||
/* Align with forkawesome */
|
||||
font-size: 14px;
|
||||
fill: var(--primary);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue