summaryrefslogtreecommitdiff
path: root/src/main/java/DNPM/dto
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/DNPM/dto')
-rw-r--r--src/main/java/DNPM/dto/EcogStatusWithDate.java28
-rw-r--r--src/main/java/DNPM/dto/Studie.java24
2 files changed, 2 insertions, 50 deletions
diff --git a/src/main/java/DNPM/dto/EcogStatusWithDate.java b/src/main/java/DNPM/dto/EcogStatusWithDate.java
index d48a3ff..a1ec575 100644
--- a/src/main/java/DNPM/dto/EcogStatusWithDate.java
+++ b/src/main/java/DNPM/dto/EcogStatusWithDate.java
@@ -1,27 +1,3 @@
-/*
- * MIT License
- *
- * 2023 Comprehensive Cancer Center Mainfranken
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
package DNPM.dto;
import org.springframework.util.Assert;
@@ -32,8 +8,8 @@ import java.util.Date;
* Datenklasse zum Abbilden des ECOG-Status und Datum
*/
public class EcogStatusWithDate {
- private Date date;
- private String status;
+ private final Date date;
+ private final String status;
public EcogStatusWithDate(Date date, String status) {
Assert.notNull(date, "Date cannot be null");
diff --git a/src/main/java/DNPM/dto/Studie.java b/src/main/java/DNPM/dto/Studie.java
index 4ee4fde..601576a 100644
--- a/src/main/java/DNPM/dto/Studie.java
+++ b/src/main/java/DNPM/dto/Studie.java
@@ -1,27 +1,3 @@
-/*
- * MIT License
- *
- * 2023 Comprehensive Cancer Center Mainfranken
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
package DNPM.dto;
public class Studie {