Skip to content

Commit

Permalink
Update checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Mumfrey committed Dec 1, 2021
1 parent a40e4bc commit a396db8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ checkstyle {
"year" : project.inceptionYear
]
configFile = file("checkstyle.xml")
toolVersion = '8.43'
toolVersion = '8.44'
}

// Source compiler configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ public String toString() {
*
* @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" })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ public IPropertyKey resolveKey(String name) {
* 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")
Expand All @@ -90,8 +90,8 @@ public final void setProperty(IPropertyKey key, Object value) {
*
* @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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ public boolean hasDecoration(String key) {
* 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) {
Expand Down

0 comments on commit a396db8

Please sign in to comment.