[rest-gradle-plugin] 06/83: Make sure method name is always lowercased
Alastair McKinstry
mckinstry at moszumanska.debian.org
Wed Oct 25 15:59:02 UTC 2017
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 513f7cf0af613504e4f8618474188be43d441511
Author: noamt <noamt at jfrog.com>
Date: Mon Feb 25 16:05:32 2013 +0200
Make sure method name is always lowercased
---
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 1ba92c3..7c8871c 100644
--- a/src/main/groovy/org/_10ne/gradle/rest/RestTask.groovy
+++ b/src/main/groovy/org/_10ne/gradle/rest/RestTask.groovy
@@ -55,7 +55,7 @@ class RestTask extends DefaultTask {
println "Executing a '$httpMethod' request to '$uri'"
- HttpResponseDecorator responseDecorator = client."$httpMethod"(params)
+ HttpResponseDecorator responseDecorator = client."${httpMethod.toLowerCase()}"(params)
println "Received response: ${responseDecorator.getData()}"
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/rest-gradle-plugin.git
More information about the pkg-java-commits
mailing list