-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #487 from softwaremagico/478-senbatsu-shiai
478 senbatsu shiai
- Loading branch information
Showing
59 changed files
with
1,673 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
...re/src/main/java/com/softwaremagico/kt/core/exceptions/InvalidExtraPropertyException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
package com.softwaremagico.kt.core.exceptions; | ||
|
||
/*- | ||
* #%L | ||
* Kendo Tournament Manager (Core) | ||
* %% | ||
* Copyright (C) 2021 - 2024 Softwaremagico | ||
* %% | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* #L% | ||
*/ | ||
|
||
import com.softwaremagico.kt.logger.ExceptionType; | ||
import com.softwaremagico.kt.logger.LoggedException; | ||
import org.springframework.http.HttpStatus; | ||
import org.springframework.web.bind.annotation.ResponseStatus; | ||
|
||
import java.io.Serial; | ||
|
||
@ResponseStatus(HttpStatus.BAD_REQUEST) | ||
public class InvalidExtraPropertyException extends LoggedException { | ||
|
||
@Serial | ||
private static final long serialVersionUID = 2621573668990271417L; | ||
|
||
public InvalidExtraPropertyException(Class<?> clazz, String message, ExceptionType type) { | ||
super(clazz, message, type, HttpStatus.BAD_REQUEST); | ||
} | ||
|
||
public InvalidExtraPropertyException(Class<?> clazz, String message) { | ||
super(clazz, message, ExceptionType.SEVERE, HttpStatus.BAD_REQUEST); | ||
} | ||
|
||
public InvalidExtraPropertyException(Class<?> clazz) { | ||
this(clazz, "Invalid Group"); | ||
} | ||
|
||
public InvalidExtraPropertyException(Class<?> clazz, Throwable e) { | ||
super(clazz, e); | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...t-core/src/main/java/com/softwaremagico/kt/core/managers/BubbleSortTournamentManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package com.softwaremagico.kt.core.managers; | ||
|
||
/*- | ||
* #%L | ||
* Kendo Tournament Manager (Core) | ||
* %% | ||
* Copyright (C) 2021 - 2024 Softwaremagico | ||
* %% | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* #L% | ||
*/ | ||
|
||
import org.springframework.stereotype.Service; | ||
|
||
@Service | ||
public class BubbleSortTournamentManager extends KingOfTheMountainFightManager { | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.