Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added license and simple JavaDocs to new wrapper classes #203

Merged
merged 2 commits into from

2 participants

@bobbywarner
Collaborator

No description provided.

@graemerocher graemerocher merged commit dc0e08d into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
22 grails-wrapper/src/main/java/org/grails/wrapper/GrailsWrapper.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.grails.wrapper;
import java.io.BufferedOutputStream;
@@ -18,7 +33,12 @@
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
-
+/**
+ * GrailsWrapper class for wrapper
+ *
+ * @author Jeff Brown
+ * @since 2.1
+ */
public class GrailsWrapper {
public static void main(final String[] args) throws Exception{
View
22 grails-wrapper/src/main/java/org/grails/wrapper/RemoteFileHelper.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.grails.wrapper;
import java.io.BufferedOutputStream;
@@ -9,7 +24,12 @@
import java.net.URL;
import java.net.URLConnection;
-
+/**
+ * RemoteFileHelper class used by {@link GrailsWrapper} for wrapper
+ *
+ * @author Jeff Brown
+ * @since 2.1
+ */
public class RemoteFileHelper {
private static final int CHUNK_SIZE = 20000;
private static final int BUFFER_SIZE = 10000;
Something went wrong with that request. Please try again.