Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ application {
}

pmd {
toolVersion = '7.20.0'
toolVersion = '7.21.0'
ruleSetFiles = files 'pmd-ruleset.xml'
ruleSets = [] // explicitly set to empty to avoid using default configuration
ignoreFailures = false
consoleOutput = true
}

spotless {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/ibm/sample/spark/flight/Asset.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Asset extends Entity {
*
* @return A project reference.
*/
public Project container() {
Project container() {
return container;
}
}
4 changes: 2 additions & 2 deletions src/main/java/com/ibm/sample/spark/flight/Entity.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Entity {
*
* @return An asset type key.
*/
public String key() {
String key() {
return key;
}

Expand All @@ -30,7 +30,7 @@ public String key() {
*
* @return An asset ID.
*/
public String id() {
String id() {
return id;
}
}