GROOVY-7425: Add 'getBytes(Map parameters)' method to the URL class (Closes #16)
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/f03ebc5a Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/f03ebc5a Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/f03ebc5a Branch: refs/heads/GROOVY_2_4_X Commit: f03ebc5af0774d333b7b3ba5046ca92014473df9 Parents: e43d6ee Author: Paul King <pa...@asert.com.au> Authored: Tue May 19 15:39:11 2015 +1000 Committer: Paul King <pa...@asert.com.au> Committed: Tue May 19 16:06:07 2015 +1000 ---------------------------------------------------------------------- src/test/org/codehaus/groovy/runtime/URLGetBytesTest.groovy | 3 --- 1 file changed, 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/f03ebc5a/src/test/org/codehaus/groovy/runtime/URLGetBytesTest.groovy ---------------------------------------------------------------------- diff --git a/src/test/org/codehaus/groovy/runtime/URLGetBytesTest.groovy b/src/test/org/codehaus/groovy/runtime/URLGetBytesTest.groovy index ffbeea1..afb383d 100644 --- a/src/test/org/codehaus/groovy/runtime/URLGetBytesTest.groovy +++ b/src/test/org/codehaus/groovy/runtime/URLGetBytesTest.groovy @@ -29,7 +29,6 @@ class URLGetBytesTest extends GroovyTestCase { protected URLConnection openConnection(URL u) { new DummyURLConnection(new URL('http://groovy-lang.org')) } - }) assert url.bytes == 'Groovy'.bytes @@ -63,7 +62,6 @@ class URLGetBytesTest extends GroovyTestCase { boolean allowUserInteraction = false def properties = [:] - DummyURLConnection(final URL url) { super(url) } @@ -106,7 +104,6 @@ class URLGetBytesTest extends GroovyTestCase { properties[key] = value } - @Override void connect() { }