1
0
Fork 0

follow OpenClosed p.

This commit is contained in:
xeviff 2024-05-25 11:18:06 +02:00
parent 56fde83030
commit abf137598e
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<groupId>tv.mangrana</groupId> <groupId>tv.mangrana</groupId>
<artifactId>mangrana-commons</artifactId> <artifactId>mangrana-commons</artifactId>
<version>7.1.3</version> <version>7.2.0</version>
<properties> <properties>
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>

View File

@ -1,6 +1,6 @@
package tv.mangrana.exception; package tv.mangrana.exception;
public class IncorrectWorkingReferencesException extends Exception { public class IncorrectWorkingReferencesException extends RuntimeException {
public IncorrectWorkingReferencesException(String s) { public IncorrectWorkingReferencesException(String s) {
super(s); super(s);
} }

View File

@ -30,7 +30,7 @@ public interface SonarrAPIInterface extends APIInterface {
@DELETE @DELETE
@Path("/queue/{id}") @Path("/queue/{id}")
@Produces({ MediaType.APPLICATION_JSON }) @Produces({ MediaType.APPLICATION_JSON })
void deleteQueueElement(@PathParam("id") Integer idElement, @QueryParam("removeFromClient") boolean removeFromClient, void deleteQueueElement(@PathParam("id") Integer idElement, @QueryParam("removeFromClient") boolean removeTorrents,
@QueryParam("apikey") String apikey); @QueryParam("apikey") String apikey);
@DELETE @DELETE