From 898d2e9cf1354b196e44b657c513c8235403a66b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20K=C3=BChn?= Date: Thu, 10 Feb 2022 09:31:05 +0100 Subject: [PATCH] Added comments --- server/src/main/java/com/vpr/server/ServerApplication.java | 3 ++- .../main/java/com/vpr/server/controller/AuthController.java | 1 + .../main/java/com/vpr/server/controller/EventController.java | 1 + .../main/java/com/vpr/server/controller/MainController.java | 1 + .../main/java/com/vpr/server/controller/UserController.java | 1 + .../vpr/server/dao/implementation/EventDAOImplementation.java | 1 + .../vpr/server/dao/implementation/UserDAOImplementation.java | 1 + .../src/main/java/com/vpr/server/dao/interfaces/EventDAO.java | 1 + .../src/main/java/com/vpr/server/dao/interfaces/UserDAO.java | 1 + server/src/main/java/com/vpr/server/data/DateEvent.java | 1 + server/src/main/java/com/vpr/server/data/Event.java | 1 + server/src/main/java/com/vpr/server/data/User.java | 1 + server/src/main/java/com/vpr/server/data/UserEvent.java | 1 + server/src/main/java/com/vpr/server/data/UserEventId.java | 1 + server/src/main/java/com/vpr/server/json/JSONMapper.java | 1 + server/src/main/java/com/vpr/server/json/Validator.java | 1 + .../main/java/com/vpr/server/repository/EventRepository.java | 1 + .../java/com/vpr/server/repository/UserEventRepository.java | 1 + .../main/java/com/vpr/server/repository/UserRepository.java | 1 + server/src/main/java/com/vpr/server/security/Hasher.java | 1 + server/src/main/java/com/vpr/server/security/Token.java | 1 + 21 files changed, 22 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/com/vpr/server/ServerApplication.java b/server/src/main/java/com/vpr/server/ServerApplication.java index 28bd4c0..1d1536e 100644 --- a/server/src/main/java/com/vpr/server/ServerApplication.java +++ b/server/src/main/java/com/vpr/server/ServerApplication.java @@ -1,4 +1,5 @@ - package com.vpr.server; +//Marc Beyer// +package com.vpr.server; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/server/src/main/java/com/vpr/server/controller/AuthController.java b/server/src/main/java/com/vpr/server/controller/AuthController.java index 1c6d1e2..d4c17a8 100644 --- a/server/src/main/java/com/vpr/server/controller/AuthController.java +++ b/server/src/main/java/com/vpr/server/controller/AuthController.java @@ -1,3 +1,4 @@ +//Marco Kühn// package com.vpr.server.controller; import com.vpr.server.data.User; diff --git a/server/src/main/java/com/vpr/server/controller/EventController.java b/server/src/main/java/com/vpr/server/controller/EventController.java index af699bd..267eaea 100644 --- a/server/src/main/java/com/vpr/server/controller/EventController.java +++ b/server/src/main/java/com/vpr/server/controller/EventController.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.controller; import com.vpr.server.dao.interfaces.EventDAO; diff --git a/server/src/main/java/com/vpr/server/controller/MainController.java b/server/src/main/java/com/vpr/server/controller/MainController.java index 3f4cbcd..f93d527 100644 --- a/server/src/main/java/com/vpr/server/controller/MainController.java +++ b/server/src/main/java/com/vpr/server/controller/MainController.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.controller; import com.vpr.server.repository.EventRepository; diff --git a/server/src/main/java/com/vpr/server/controller/UserController.java b/server/src/main/java/com/vpr/server/controller/UserController.java index 0286256..e2ccfeb 100644 --- a/server/src/main/java/com/vpr/server/controller/UserController.java +++ b/server/src/main/java/com/vpr/server/controller/UserController.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.controller; import com.vpr.server.dao.interfaces.UserDAO; diff --git a/server/src/main/java/com/vpr/server/dao/implementation/EventDAOImplementation.java b/server/src/main/java/com/vpr/server/dao/implementation/EventDAOImplementation.java index 93b6b9f..2a84be0 100644 --- a/server/src/main/java/com/vpr/server/dao/implementation/EventDAOImplementation.java +++ b/server/src/main/java/com/vpr/server/dao/implementation/EventDAOImplementation.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.dao.implementation; import com.vpr.server.dao.interfaces.EventDAO; diff --git a/server/src/main/java/com/vpr/server/dao/implementation/UserDAOImplementation.java b/server/src/main/java/com/vpr/server/dao/implementation/UserDAOImplementation.java index d3e56ac..6fe94fd 100644 --- a/server/src/main/java/com/vpr/server/dao/implementation/UserDAOImplementation.java +++ b/server/src/main/java/com/vpr/server/dao/implementation/UserDAOImplementation.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.dao.implementation; import com.vpr.server.dao.interfaces.UserDAO; diff --git a/server/src/main/java/com/vpr/server/dao/interfaces/EventDAO.java b/server/src/main/java/com/vpr/server/dao/interfaces/EventDAO.java index f9d8b96..05dd085 100644 --- a/server/src/main/java/com/vpr/server/dao/interfaces/EventDAO.java +++ b/server/src/main/java/com/vpr/server/dao/interfaces/EventDAO.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.dao.interfaces; import com.vpr.server.data.Event; diff --git a/server/src/main/java/com/vpr/server/dao/interfaces/UserDAO.java b/server/src/main/java/com/vpr/server/dao/interfaces/UserDAO.java index 8cf8aa8..7cd5e39 100644 --- a/server/src/main/java/com/vpr/server/dao/interfaces/UserDAO.java +++ b/server/src/main/java/com/vpr/server/dao/interfaces/UserDAO.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.dao.interfaces; import com.vpr.server.data.User; diff --git a/server/src/main/java/com/vpr/server/data/DateEvent.java b/server/src/main/java/com/vpr/server/data/DateEvent.java index 36fd68c..630d06f 100644 --- a/server/src/main/java/com/vpr/server/data/DateEvent.java +++ b/server/src/main/java/com/vpr/server/data/DateEvent.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.data; import java.sql.Date; diff --git a/server/src/main/java/com/vpr/server/data/Event.java b/server/src/main/java/com/vpr/server/data/Event.java index 0e2ef52..d158137 100644 --- a/server/src/main/java/com/vpr/server/data/Event.java +++ b/server/src/main/java/com/vpr/server/data/Event.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.data; import javax.persistence.*; diff --git a/server/src/main/java/com/vpr/server/data/User.java b/server/src/main/java/com/vpr/server/data/User.java index c3b9da4..1ed7926 100644 --- a/server/src/main/java/com/vpr/server/data/User.java +++ b/server/src/main/java/com/vpr/server/data/User.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.data; import javax.persistence.*; diff --git a/server/src/main/java/com/vpr/server/data/UserEvent.java b/server/src/main/java/com/vpr/server/data/UserEvent.java index c29fe3e..76bd46f 100644 --- a/server/src/main/java/com/vpr/server/data/UserEvent.java +++ b/server/src/main/java/com/vpr/server/data/UserEvent.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.data; import javax.persistence.*; diff --git a/server/src/main/java/com/vpr/server/data/UserEventId.java b/server/src/main/java/com/vpr/server/data/UserEventId.java index 4551603..89786d4 100644 --- a/server/src/main/java/com/vpr/server/data/UserEventId.java +++ b/server/src/main/java/com/vpr/server/data/UserEventId.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.data; import java.io.Serializable; diff --git a/server/src/main/java/com/vpr/server/json/JSONMapper.java b/server/src/main/java/com/vpr/server/json/JSONMapper.java index 914af66..0cda4f8 100644 --- a/server/src/main/java/com/vpr/server/json/JSONMapper.java +++ b/server/src/main/java/com/vpr/server/json/JSONMapper.java @@ -1,3 +1,4 @@ +//Marco Kühn// package com.vpr.server.json; import com.vpr.server.data.Event; diff --git a/server/src/main/java/com/vpr/server/json/Validator.java b/server/src/main/java/com/vpr/server/json/Validator.java index 15a4ced..2ad716b 100644 --- a/server/src/main/java/com/vpr/server/json/Validator.java +++ b/server/src/main/java/com/vpr/server/json/Validator.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.json; import java.sql.Date; diff --git a/server/src/main/java/com/vpr/server/repository/EventRepository.java b/server/src/main/java/com/vpr/server/repository/EventRepository.java index bb5d1c6..305bdf0 100644 --- a/server/src/main/java/com/vpr/server/repository/EventRepository.java +++ b/server/src/main/java/com/vpr/server/repository/EventRepository.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.repository; import com.vpr.server.data.Event; diff --git a/server/src/main/java/com/vpr/server/repository/UserEventRepository.java b/server/src/main/java/com/vpr/server/repository/UserEventRepository.java index b47fc19..cc48459 100644 --- a/server/src/main/java/com/vpr/server/repository/UserEventRepository.java +++ b/server/src/main/java/com/vpr/server/repository/UserEventRepository.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.repository; import com.vpr.server.data.UserEvent; diff --git a/server/src/main/java/com/vpr/server/repository/UserRepository.java b/server/src/main/java/com/vpr/server/repository/UserRepository.java index c80d801..cda72ab 100644 --- a/server/src/main/java/com/vpr/server/repository/UserRepository.java +++ b/server/src/main/java/com/vpr/server/repository/UserRepository.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.repository; import com.vpr.server.data.User; diff --git a/server/src/main/java/com/vpr/server/security/Hasher.java b/server/src/main/java/com/vpr/server/security/Hasher.java index 287c953..c72dec6 100644 --- a/server/src/main/java/com/vpr/server/security/Hasher.java +++ b/server/src/main/java/com/vpr/server/security/Hasher.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.security; import javax.crypto.SecretKeyFactory; diff --git a/server/src/main/java/com/vpr/server/security/Token.java b/server/src/main/java/com/vpr/server/security/Token.java index 7b94987..fc32d1b 100644 --- a/server/src/main/java/com/vpr/server/security/Token.java +++ b/server/src/main/java/com/vpr/server/security/Token.java @@ -1,3 +1,4 @@ +//Marc Beyer// package com.vpr.server.security; import io.jsonwebtoken.JwtException;