athrainsky 1 year ago
parent
commit
5b7c9b3c1d

+ 0 - 1
src/main/kotlin/com/server/alb/controllers/BugController.kt

@@ -209,7 +209,6 @@ class BugController(
         @Valid @ModelAttribute("bug") bug: ListBug,
         bindingResult: BindingResult,
         redirectAttributes: RedirectAttributes,
-        httpServletRequest: HttpServletRequest,
         @RequestParam page: String,
         model: Model,
     ): String {

+ 1 - 1
src/main/kotlin/com/server/alb/models/User.kt

@@ -5,7 +5,7 @@ import jakarta.persistence.*
 
 @Entity
 @Table(name = "users")
-class User() {
+class User {
 
     @Id
     @Column(name = "user_id")

+ 1 - 2
src/main/kotlin/com/server/alb/repositories/RoleRepository.kt

@@ -3,5 +3,4 @@ package com.server.alb.repositories
 import com.server.alb.models.Role
 import org.springframework.data.jpa.repository.JpaRepository
 
-interface RoleRepository : JpaRepository<Role, Long> {
-}
+interface RoleRepository : JpaRepository<Role, Long>