This is an automated email from the git hooks/post-receive script. mckinstry pushed a commit to branch debian/master in repository rest-gradle-plugin.
commit 1d891fabff5518355270ffb211fe6a772172c36d Author: Noam Y. Tenne <n...@10ne.org> Date: Wed Jan 27 11:16:14 2016 +0200 Check that the URI isn't blank using toString As commented in #17 --- src/main/groovy/org/_10ne/gradle/rest/RestTask.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/groovy/org/_10ne/gradle/rest/RestTask.groovy b/src/main/groovy/org/_10ne/gradle/rest/RestTask.groovy index 742f078..5f6189a 100644 --- a/src/main/groovy/org/_10ne/gradle/rest/RestTask.groovy +++ b/src/main/groovy/org/_10ne/gradle/rest/RestTask.groovy @@ -94,7 +94,7 @@ class RestTask extends DefaultTask { @TaskAction void executeRequest() { - if (!uri || StringUtils.isBlank(uri)) { + if (!uri || StringUtils.isBlank(uri.toString())) { throw new InvalidUserDataException('No resource URI provided') } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/rest-gradle-plugin.git _______________________________________________ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits