/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 *
 * Copyright (c) 2010-2015 Oracle and/or its affiliates. All rights reserved.
 *
 * The contents of this file are subject to the terms of either the GNU
 * General Public License Version 2 only ("GPL") or the Common Development
 * and Distribution License("CDDL") (collectively, the "License").  You
 * may not use this file except in compliance with the License.  You can
 * obtain a copy of the License at
 * http://glassfish.java.net/public/CDDL+GPL_1_1.html
 * or packager/legal/LICENSE.txt.  See the License for the specific
 * language governing permissions and limitations under the License.
 *
 * When distributing the software, include this License Header Notice in each
 * file and include the License file at packager/legal/LICENSE.txt.
 *
 * GPL Classpath Exception:
 * Oracle designates this particular file as subject to the "Classpath"
 * exception as provided by Oracle in the GPL Version 2 section of the License
 * file that accompanied this code.
 *
 * Modifications:
 * If applicable, add the following below the License Header, with the fields
 * enclosed by brackets [] replaced by your own identifying information:
 * "Portions Copyright [year] [name of copyright owner]"
 *
 * Contributor(s):
 * If you wish your version of this file to be governed by only the CDDL or
 * only the GPL Version 2, indicate your decision by adding "[Contributor]
 * elects to include this software in this distribution under the [CDDL or GPL
 * Version 2] license."  If you don't indicate a single choice of license, a
 * recipient has the option to distribute your version of this file under
 * either the CDDL, the GPL Version 2 or to extend the choice of license to
 * its licensees as provided above.  However, if you add GPL Version 2 code
 * and therefore, elected the GPL Version 2 license, then the option applies
 * only if the new code is made subject to such option by the copyright
 * holder.
 */

package org.wso2.msf4j.formparam;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * This {@link java.lang.annotation.Annotation} provide supports for multipart/form-data with MSF4J
 *
 */
@Target({ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface FormDataParam {

    /**
     * Defines the control name of a "multipart/form-data" body part whose
     * content will be used to initialize the value of the annotated method
     * argument.
     *
     */
    String value();

}

@@ -1,139 +1,73 @@
 /*%0A
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.%0A *%0A * Copyright (c) 2010-2015 Oracle and/or its affiliates.
+* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org)
  All 
-r
+R
 ights 
-r
+R
 eser
@@ -75,108 +75,45 @@
 ed.%0A
- 
 *%0A
- 
 * 
-The contents of this file are subject to the terms of either the GNU%0A * General Public
+Licensed under the Apache
  License
  Ver
@@ -108,16 +108,17 @@
  License
+,
  Version
@@ -123,99 +123,12 @@
 on 2
- only (%22GPL%22) or the Common Development%0A * and Distribution License(%22CDDL%22) (collectively, 
+.0 (
 the 
@@ -141,17 +141,15 @@
 se%22)
-.  You%0A *
+;%0A* you
  may
@@ -209,20 +209,18 @@
 nse.
- 
+%0A*
  You 
-can%0A *
+may
  obt
@@ -248,17 +248,18 @@
 ense at%0A
- 
+*%0A
 * http:/
@@ -263,332 +263,39 @@
 p://
-glassfish.java.net/public/CDDL+GPL_1_1.html%0A * or packager/legal/LICENSE.txt.  See the License for the specific%0A * language governing permissions and limitations under the License.%0A *%0A * When distributing the software, include this License Header Notice in each%0A * file and include the License file at packager/legal
+www.apache.org/licenses
 /LICENSE
 .txt
@@ -294,1181 +294,336 @@
 ENSE
-.txt.%0A 
+-2.0%0A
 *%0A
- 
 * 
-GPL Classpath Exception:%0A * Oracle designates this particular file as subject to the %22Classpath%22%0A * exception as provided by Oracle in the GPL Version 2 section of the License%0A * file that accompanied this code.%0A *%0A * Modifications:%0A * If applicable, add the following below the License Header, with the fields%0A * enclosed by brackets %5B%5D replaced by your own identifying information:%0A * %22Portions Copyright %5Byear%5D %5Bname of copyright owner%5D%22%0A *%0A * Contributor(s):%0A * If you wish your version of this file to be governed by only the CDDL or%0A * only the GPL Version 2, indicate your decision by adding %22%5BContributor%5D%0A * elects to include this software in this distribution under the %5BCDDL or GPL%0A * Version 2%5D license.%22  If you don't indicate a single choice of license, a%0A * recipient has the option to distribute your version of this file under%0A * either the CDDL, the GPL Version 2 or to extend the choice of license to%0A * its licensees as provided above.  However, if you add GPL Version 2 code%0A * and therefore, elected the GPL Version 2 license, then the option applies%0A * only if the new code is made subject to such option by the copyright%0A * holder
+Unless required by applicable law or agreed to in writing, software%0A* distributed under the License is distributed on an %22AS IS%22 BASIS,%0A* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A* See the License for the specific language governing permissions and%0A* limitations under the License
 .%0A
- 
 */%0A%0A
+%0A
 pack

Update licence header