From 0647dc7b37862cca6b3e5c91771d90ec09618c23 Mon Sep 17 00:00:00 2001
From: srosse <none@none>
Date: Thu, 26 Oct 2017 11:28:13 +0200
Subject: [PATCH] OO-3071: remove final in getter and setter methods of some
 hibernate mapping class

---
 .../org/olat/course/statistic/daily/DailyStat.java | 14 +++++++-------
 .../course/statistic/dayofweek/DayOfWeekStat.java  | 14 +++++++-------
 .../olat/course/statistic/homeorg/HomeOrgStat.java | 14 +++++++-------
 .../course/statistic/hourofday/HourOfDayStat.java  | 14 +++++++-------
 .../olat/course/statistic/orgtype/OrgTypeStat.java | 14 +++++++-------
 .../statistic/studybranch3/StudyBranch3Stat.java   | 14 +++++++-------
 .../statistic/studylevel/StudyLevelStat.java       | 14 +++++++-------
 .../olat/course/statistic/weekly/WeeklyStat.java   | 14 +++++++-------
 8 files changed, 56 insertions(+), 56 deletions(-)

diff --git a/src/main/java/org/olat/course/statistic/daily/DailyStat.java b/src/main/java/org/olat/course/statistic/daily/DailyStat.java
index c96783d1dcb..5f83bc210f0 100644
--- a/src/main/java/org/olat/course/statistic/daily/DailyStat.java
+++ b/src/main/java/org/olat/course/statistic/daily/DailyStat.java
@@ -84,7 +84,7 @@ public class DailyStat implements Persistable {
 		return key;
 	}
 	
-	public final long getResId() {
+	public long getResId() {
 		return resId;
 	}
 	
@@ -92,27 +92,27 @@ public class DailyStat implements Persistable {
 		this.resId = resId;
 	}
 	
-	public final String getBusinessPath() {
+	public String getBusinessPath() {
 		return businessPath;
 	}
 
-	public final void setBusinessPath(String businessPath) {
+	public void setBusinessPath(String businessPath) {
 		this.businessPath = businessPath;
 	}
 
-	public final Date getDay() {
+	public Date getDay() {
 		return day;
 	}
 	
-	public final void setDay(Date day) {
+	public void setDay(Date day) {
 		this.day = day;
 	}
 	
-	public final int getValue() {
+	public int getValue() {
 		return value;
 	}
 	
-	public final void setValue(int value) {
+	public void setValue(int value) {
 		this.value = value;
 	}
 
diff --git a/src/main/java/org/olat/course/statistic/dayofweek/DayOfWeekStat.java b/src/main/java/org/olat/course/statistic/dayofweek/DayOfWeekStat.java
index 71bf1582ab7..d51fa6c812b 100644
--- a/src/main/java/org/olat/course/statistic/dayofweek/DayOfWeekStat.java
+++ b/src/main/java/org/olat/course/statistic/dayofweek/DayOfWeekStat.java
@@ -79,7 +79,7 @@ public class DayOfWeekStat implements Persistable {
 		return key;
 	}
 	
-	public final long getResId() {
+	public long getResId() {
 		return resId;
 	}
 	
@@ -87,27 +87,27 @@ public class DayOfWeekStat implements Persistable {
 		this.resId = resId;
 	}
 	
-	public final String getBusinessPath() {
+	public String getBusinessPath() {
 		return businessPath;
 	}
 
-	public final void setBusinessPath(String businessPath) {
+	public void setBusinessPath(String businessPath) {
 		this.businessPath = businessPath;
 	}
 
-	public final int getDay() {
+	public int getDay() {
 		return day;
 	}
 	
-	public final void setDay(int day) {
+	public void setDay(int day) {
 		this.day = day;
 	}
 	
-	public final int getValue() {
+	public int getValue() {
 		return value;
 	}
 	
-	public final void setValue(int value) {
+	public void setValue(int value) {
 		this.value = value;
 	}
 
diff --git a/src/main/java/org/olat/course/statistic/homeorg/HomeOrgStat.java b/src/main/java/org/olat/course/statistic/homeorg/HomeOrgStat.java
index f6dfc17de75..b5905633e8c 100644
--- a/src/main/java/org/olat/course/statistic/homeorg/HomeOrgStat.java
+++ b/src/main/java/org/olat/course/statistic/homeorg/HomeOrgStat.java
@@ -79,7 +79,7 @@ public class HomeOrgStat extends PersistentObject {
 		return key;
 	}
 	
-	public final long getResId() {
+	public long getResId() {
 		return resId;
 	}
 	
@@ -87,27 +87,27 @@ public class HomeOrgStat extends PersistentObject {
 		this.resId = resId;
 	}
 	
-	public final String getBusinessPath() {
+	public String getBusinessPath() {
 		return businessPath;
 	}
 
-	public final void setBusinessPath(String businessPath) {
+	public void setBusinessPath(String businessPath) {
 		this.businessPath = businessPath;
 	}
 
-	public final String getHomeOrg() {
+	public String getHomeOrg() {
 		return homeOrg;
 	}
 	
-	public final void setHomeOrg(String homeOrg) {
+	public void setHomeOrg(String homeOrg) {
 		this.homeOrg = homeOrg;
 	}
 	
-	public final int getValue() {
+	public int getValue() {
 		return value;
 	}
 	
-	public final void setValue(int value) {
+	public void setValue(int value) {
 		this.value = value;
 	}
 	
diff --git a/src/main/java/org/olat/course/statistic/hourofday/HourOfDayStat.java b/src/main/java/org/olat/course/statistic/hourofday/HourOfDayStat.java
index 17c14685da5..023371f5d64 100644
--- a/src/main/java/org/olat/course/statistic/hourofday/HourOfDayStat.java
+++ b/src/main/java/org/olat/course/statistic/hourofday/HourOfDayStat.java
@@ -75,7 +75,7 @@ public class HourOfDayStat extends PersistentObject {
 	// for hibernate	
 	}
 	
-	public final long getResId() {
+	public long getResId() {
 		return resId;
 	}
 	
@@ -83,27 +83,27 @@ public class HourOfDayStat extends PersistentObject {
 		this.resId = resId;
 	}
 	
-	public final String getBusinessPath() {
+	public String getBusinessPath() {
 		return businessPath;
 	}
 
-	public final void setBusinessPath(String businessPath) {
+	public void setBusinessPath(String businessPath) {
 		this.businessPath = businessPath;
 	}
 
-	public final int getHour() {
+	public int getHour() {
 		return hour;
 	}
 	
-	public final void setHour(int hour) {
+	public void setHour(int hour) {
 		this.hour = hour;
 	}
 	
-	public final int getValue() {
+	public int getValue() {
 		return value;
 	}
 	
-	public final void setValue(int value) {
+	public void setValue(int value) {
 		this.value = value;
 	}
 	
diff --git a/src/main/java/org/olat/course/statistic/orgtype/OrgTypeStat.java b/src/main/java/org/olat/course/statistic/orgtype/OrgTypeStat.java
index 3ac8a53ee77..1bea67aac77 100644
--- a/src/main/java/org/olat/course/statistic/orgtype/OrgTypeStat.java
+++ b/src/main/java/org/olat/course/statistic/orgtype/OrgTypeStat.java
@@ -78,7 +78,7 @@ public class OrgTypeStat implements Persistable {
 		return key;
 	}
 	
-	public final long getResId() {
+	public long getResId() {
 		return resId;
 	}
 	
@@ -86,27 +86,27 @@ public class OrgTypeStat implements Persistable {
 		this.resId = resId;
 	}
 	
-	public final String getBusinessPath() {
+	public String getBusinessPath() {
 		return businessPath;
 	}
 
-	public final void setBusinessPath(String businessPath) {
+	public void setBusinessPath(String businessPath) {
 		this.businessPath = businessPath;
 	}
 
-	public final String getOrgType() {
+	public String getOrgType() {
 		return orgType;
 	}
 	
-	public final void setOrgType(String orgType) {
+	public void setOrgType(String orgType) {
 		this.orgType = orgType;
 	}
 	
-	public final int getValue() {
+	public int getValue() {
 		return value;
 	}
 	
-	public final void setValue(int value) {
+	public void setValue(int value) {
 		this.value = value;
 	}
 	
diff --git a/src/main/java/org/olat/course/statistic/studybranch3/StudyBranch3Stat.java b/src/main/java/org/olat/course/statistic/studybranch3/StudyBranch3Stat.java
index d6d6d0eef87..77719fc2a1b 100644
--- a/src/main/java/org/olat/course/statistic/studybranch3/StudyBranch3Stat.java
+++ b/src/main/java/org/olat/course/statistic/studybranch3/StudyBranch3Stat.java
@@ -78,7 +78,7 @@ public class StudyBranch3Stat implements Persistable {
 		return key;
 	}
 	
-	public final long getResId() {
+	public long getResId() {
 		return resId;
 	}
 	
@@ -86,27 +86,27 @@ public class StudyBranch3Stat implements Persistable {
 		this.resId = resId;
 	}
 	
-	public final String getBusinessPath() {
+	public String getBusinessPath() {
 		return businessPath;
 	}
 
-	public final void setBusinessPath(String businessPath) {
+	public void setBusinessPath(String businessPath) {
 		this.businessPath = businessPath;
 	}
 
-	public final String getStudyBranch3() {
+	public String getStudyBranch3() {
 		return studyBranch3;
 	}
 	
-	public final void setStudyBranch3(String studyBranch3) {
+	public void setStudyBranch3(String studyBranch3) {
 		this.studyBranch3 = studyBranch3;
 	}
 	
-	public final int getValue() {
+	public int getValue() {
 		return value;
 	}
 	
-	public final void setValue(int value) {
+	public void setValue(int value) {
 		this.value = value;
 	}
 	
diff --git a/src/main/java/org/olat/course/statistic/studylevel/StudyLevelStat.java b/src/main/java/org/olat/course/statistic/studylevel/StudyLevelStat.java
index 00114806a6f..1a21cc305d0 100644
--- a/src/main/java/org/olat/course/statistic/studylevel/StudyLevelStat.java
+++ b/src/main/java/org/olat/course/statistic/studylevel/StudyLevelStat.java
@@ -78,7 +78,7 @@ public class StudyLevelStat implements Persistable {
 		return key;
 	}
 	
-	public final long getResId() {
+	public long getResId() {
 		return resId;
 	}
 	
@@ -86,27 +86,27 @@ public class StudyLevelStat implements Persistable {
 		this.resId = resId;
 	}
 	
-	public final String getBusinessPath() {
+	public String getBusinessPath() {
 		return businessPath;
 	}
 
-	public final void setBusinessPath(String businessPath) {
+	public void setBusinessPath(String businessPath) {
 		this.businessPath = businessPath;
 	}
 
-	public final String getStudyLevel() {
+	public String getStudyLevel() {
 		return studyLevel;
 	}
 	
-	public final void setStudyLevel(String studyLevel) {
+	public void setStudyLevel(String studyLevel) {
 		this.studyLevel = studyLevel;
 	}
 	
-	public final int getValue() {
+	public int getValue() {
 		return value;
 	}
 	
-	public final void setValue(int value) {
+	public void setValue(int value) {
 		this.value = value;
 	}
 	
diff --git a/src/main/java/org/olat/course/statistic/weekly/WeeklyStat.java b/src/main/java/org/olat/course/statistic/weekly/WeeklyStat.java
index ca1deb711b9..f59d91c1784 100644
--- a/src/main/java/org/olat/course/statistic/weekly/WeeklyStat.java
+++ b/src/main/java/org/olat/course/statistic/weekly/WeeklyStat.java
@@ -78,7 +78,7 @@ public class WeeklyStat implements Persistable {
 		return key;
 	}
 	
-	public final long getResId() {
+	public long getResId() {
 		return resId;
 	}
 	
@@ -86,27 +86,27 @@ public class WeeklyStat implements Persistable {
 		this.resId = resId;
 	}
 	
-	public final String getBusinessPath() {
+	public String getBusinessPath() {
 		return businessPath;
 	}
 
-	public final void setBusinessPath(String businessPath) {
+	public void setBusinessPath(String businessPath) {
 		this.businessPath = businessPath;
 	}
 
-	public final String getWeek() {
+	public String getWeek() {
 		return week;
 	}
 	
-	public final void setWeek(String week) {
+	public void setWeek(String week) {
 		this.week = week;
 	}
 	
-	public final int getValue() {
+	public int getValue() {
 		return value;
 	}
 	
-	public final void setValue(int value) {
+	public void setValue(int value) {
 		this.value = value;
 	}
 	
-- 
GitLab