Add formatting check and fix formatting #1734
87 new alerts including 2 medium severity security vulnerabilities
New alerts in code changed by this pull request
Security Alerts:
- 2 medium
Other Alerts:
- 1 warning
- 84 notes
Alerts not introduced by this pull request might have been detected because the code changes were too large.
See annotations below for details.
Annotations
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Code scanning / CodeQL
Exposing internal representation Note
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Check notice on line 88 in src/main/java/com/aws/greengrass/config/UpdateBehaviorTree.java
Code scanning / CodeQL
Exposing internal representation Note
Check notice on line 514 in src/main/java/com/aws/greengrass/deployment/IotJobsHelper.java
Code scanning / CodeQL
Javadoc has impossible 'throws' tag Note
Check notice on line 516 in src/main/java/com/aws/greengrass/deployment/IotJobsHelper.java
Code scanning / CodeQL
Javadoc has impossible 'throws' tag Note
Check notice on line 589 in src/main/java/com/aws/greengrass/deployment/IotJobsHelper.java
Code scanning / CodeQL
Javadoc has impossible 'throws' tag Note
Check notice on line 591 in src/main/java/com/aws/greengrass/deployment/IotJobsHelper.java
Code scanning / CodeQL
Javadoc has impossible 'throws' tag Note
Check notice on line 36 in src/main/java/com/aws/greengrass/deployment/model/RunWith.java
Code scanning / CodeQL
Spurious Javadoc @param tags Note
Check notice on line 85 in src/main/java/com/aws/greengrass/mqttclient/AwsIotMqttClient.java
Code scanning / CodeQL
Exposing internal representation Note
Check notice on line 137 in src/main/java/com/aws/greengrass/mqttclient/MqttClient.java
Code scanning / CodeQL
Exposing internal representation Note
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Check notice on line 23 in src/main/java/com/aws/greengrass/telemetry/AggregatedMetric.java
Code scanning / CodeQL
Exposing internal representation Note
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Check notice on line 54 in src/main/java/com/aws/greengrass/util/IamSdkClientFactory.java
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Check notice on line 128 in src/main/java/com/aws/greengrass/util/IotSdkClientFactory.java
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Check notice on line 53 in src/main/java/com/aws/greengrass/util/StsSdkClientFactory.java
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Code scanning / CodeQL
Missing Override annotation Note
Code scanning / CodeQL
Missing Override annotation Note
Check notice on line 214 in src/main/java/com/aws/greengrass/util/platforms/unix/UnixPlatform.java
Code scanning / CodeQL
Missing catch of NumberFormatException Note
Code scanning / CodeQL
Missing Override annotation Note
Code scanning / CodeQL
Missing Override annotation Note