Update checkstyle

This commit is contained in:
Mumfrey committed 2021-12-01 20:25:07 +00:00
1 parent a40e4bc59a
commit a396db8cd1
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -298,7 +298,7 @@ checkstyle {
"year" : project.inceptionYear
]
configFile = file("checkstyle.xml")
toolVersion = '8.43'
toolVersion = '8.44'
}
// Source compiler configuration
@@ -110,8 +110,8 @@ public final class AnnotationHandle implements IAnnotationHandle {
*
* @param key key
* @param defaultValue value to return if the key is not set or not present
* @return value or default if not set
* @param <T> duck type
* @return value or default if not set
*/
@Override
@SuppressWarnings({ "unchecked", "rawtypes" })
@@ -64,8 +64,8 @@ public class Blackboard implements IGlobalPropertyService {
* Get a value from the blackboard and duck-type it to the specified type
*
* @param key blackboard key
* @return value
* @param <T> duck type
* @return value
*/
@Override
@SuppressWarnings("unchecked")
@@ -90,8 +90,8 @@ public class Blackboard implements IGlobalPropertyService {
*
* @param key blackboard key
* @param defaultValue value to return if the key is not set or is null
* @return value from blackboard or default value
* @param <T> duck type
* @return value from blackboard or default value
*/
@Override
@SuppressWarnings("unchecked")
@@ -184,8 +184,8 @@ public class InjectionNodes extends ArrayList<InjectionNodes.InjectionNode> {
* Get the specified decoration
*
* @param key meta key
* @return decoration value or null if absent
* @param <V> value type
* @return decoration value or null if absent
*/
@SuppressWarnings("unchecked")
public <V> V getDecoration(String key) {