Permalink
Browse files

Added license and simple JavaDocs to new wrapper classes

  • Loading branch information...
1 parent 4a9752e commit 24768a673f67f6ba4347ca6270022dc0bf35db07 @bobbywarner bobbywarner committed May 16, 2012
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2011 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{
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2011 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;

0 comments on commit 24768a6

Please sign in to comment.