-
Bug
-
Resolution: Done
-
Major
-
16.0.0.Beta5
-
None
-
Low
-
Undefined
The following code points do an int calc but assign to a long. The cast should be done in calc. Refer to https://rules.sonarsource.com/java/RSPEC-2184
- https://github.com/wildfly/wildfly-core/blob/16.0.0.Beta5/cli/src/main/java/org/jboss/as/cli/handlers/ReloadHandler.java#L271
- https://github.com/wildfly/wildfly-core/blob/16.0.0.Beta5/cli/src/main/java/org/jboss/as/cli/handlers/ShutdownHandler.java#L175
- https://github.com/wildfly/wildfly-core/blob/16.0.0.Beta5/cli/src/main/java/org/jboss/as/cli/impl/CommandContextImpl.java#L1472
- https://github.com/wildfly/wildfly-core/blob/16.0.0.Beta5/cli/src/main/java/org/jboss/as/cli/impl/aesh/cmd/security/ssl/ManagementDisableSSLCommand.java#L130