From 971ba25e08c753f24b5fbb15bf3ff5ae67963c57 Mon Sep 17 00:00:00 2001 From: Romain Rochegude Date: Sat, 2 May 2020 14:11:15 +0200 Subject: [PATCH] add final keyword where possible --- src/main/java/com/github/roroche/BuildClassDiagramTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/github/roroche/BuildClassDiagramTask.java b/src/main/java/com/github/roroche/BuildClassDiagramTask.java index 2a50920..594d3e8 100644 --- a/src/main/java/com/github/roroche/BuildClassDiagramTask.java +++ b/src/main/java/com/github/roroche/BuildClassDiagramTask.java @@ -38,7 +38,7 @@ public String getPackageName() { option = "packageName", description = "The package where to scan classes to build the class diagram." ) - public void setPackageName(String packageName) { + public void setPackageName(final String packageName) { this.packageName = packageName; } @@ -58,7 +58,7 @@ public List getIgnoredClasses() { option = "ignoredClasses", description = "The classes to be ignored while building class diagram." ) - public void setIgnoredClasses(List ignoredClasses) { + public void setIgnoredClasses(final List ignoredClasses) { this.ignoredClasses = ignoredClasses; }