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>
|
||||
<artifactId>mangrana-commons</artifactId>
|
||||
<version>7.1.3</version>
|
||||
<version>7.2.0</version>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package tv.mangrana.exception;
|
||||
|
||||
public class IncorrectWorkingReferencesException extends Exception {
|
||||
public class IncorrectWorkingReferencesException extends RuntimeException {
|
||||
public IncorrectWorkingReferencesException(String s) {
|
||||
super(s);
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ public interface SonarrAPIInterface extends APIInterface {
|
|||
@DELETE
|
||||
@Path("/queue/{id}")
|
||||
@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);
|
||||
|
||||
@DELETE
|
||||
|
|
Loading…
Reference in New Issue