follow OpenClosed p.
This commit is contained in:
parent
56fde83030
commit
abf137598e
2
pom.xml
2
pom.xml
|
@ -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>
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue