pom.xml cleanup

This commit is contained in:
Sven Kubiak
2018-10-06 13:44:18 +02:00
parent 2808437ea9
commit 815c390691
3 changed files with 59 additions and 9 deletions

View File

@ -247,6 +247,9 @@ public class JPushover {
* Optional device parameter to check specific device
*
* @return true if token and user are valid and at least on device is on the account, false otherwise
*
* @throws IOException if validation fails
* @throws InterruptedException if validation fails
*/
public boolean validate() throws IOException, InterruptedException {
Objects.requireNonNull(this.pushoverToken, "Token is required for validation");
@ -274,6 +277,9 @@ public class JPushover {
* Sends a message to pushover
*
* @return JPushoverResponse instance
*
* @throws IOException if validation fails
* @throws InterruptedException if validation fails
*/
public final JPushoverResponse push() throws IOException, InterruptedException {
Objects.requireNonNull(this.pushoverToken, "Token is required for a message");

View File

@ -1,6 +0,0 @@
module jpushover {
requires java.net.http;
requires minimal.json;
requires org.apache.commons.lang3;
exports de.svenkubiak.jpushover;
}