Github user eginez commented on a diff in the pull request:

    https://github.com/apache/incubator-groovy/pull/16#discussion_r30418806
  
    --- Diff: src/main/org/codehaus/groovy/runtime/ResourceGroovyMethods.java 
---
    @@ -694,6 +694,29 @@ public static String getText(URL url, Map parameters, 
String charset) throws IOE
         }
     
         /**
    +     * Read the content of this URL and returns it as a byte[].
    +     * The default connection parameters can be modified by adding keys to 
the
    +     * <i>parameters map</i>:
    +     * <ul>
    +     * <li>connectTimeout : the connection timeout</li>
    +     * <li>readTimeout : the read timeout</li>
    +     * <li>useCaches : set the use cache property for the URL 
connection</li>
    +     * <li>allowUserInteraction : set the user interaction flag for the 
URL connection</li>
    +     * <li>requestProperties : a map of properties to be passed to the URL 
connection</li>
    +     * </ul>
    +     *
    +     * @param url        URL to read content from
    +     * @param parameters connection parameters
    +     * @return the byte[] from that URL
    +     * @throws IOException if an IOException occurs.
    +     * @since 2.4.1
    --- End diff --
    
    Ah sure I'll fix that


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to