Skip to content

Commit

Permalink
Added license and simple JavaDocs to new wrapper classes
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbywarner committed May 16, 2012
1 parent 4a9752e commit 24768a6
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
Original file line number Original file line Diff line number Diff line change
@@ -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; package org.grails.wrapper;


import java.io.BufferedOutputStream; import java.io.BufferedOutputStream;
Expand All @@ -18,7 +33,12 @@
import java.util.zip.ZipEntry; import java.util.zip.ZipEntry;
import java.util.zip.ZipFile; import java.util.zip.ZipFile;



/**
* GrailsWrapper class for wrapper
*
* @author Jeff Brown
* @since 2.1
*/
public class GrailsWrapper { public class GrailsWrapper {


public static void main(final String[] args) throws Exception{ public static void main(final String[] args) throws Exception{
Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -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; package org.grails.wrapper;


import java.io.BufferedOutputStream; import java.io.BufferedOutputStream;
Expand All @@ -9,7 +24,12 @@
import java.net.URL; import java.net.URL;
import java.net.URLConnection; import java.net.URLConnection;



/**
* RemoteFileHelper class used by {@link GrailsWrapper} for wrapper
*
* @author Jeff Brown
* @since 2.1
*/
public class RemoteFileHelper { public class RemoteFileHelper {
private static final int CHUNK_SIZE = 20000; private static final int CHUNK_SIZE = 20000;
private static final int BUFFER_SIZE = 10000; private static final int BUFFER_SIZE = 10000;
Expand Down

0 comments on commit 24768a6

Please sign in to comment.