Skip to content

Commit 2bc9cfe

Browse files
jGauravGuptajansupol
authored andcommitted
Copyright fix (for addAnnotatedType now provide ID to prevent warning PR#3845) (#3883)
* Copyright fix for addAnnotatedType now provide ID to prevent warning PR Signed-off-by: Gaurav Gupta <[email protected]>
1 parent cb8245c commit 2bc9cfe

File tree

3 files changed

+20
-64
lines changed

3 files changed

+20
-64
lines changed

ext/cdi/jersey-cdi1x-servlet/src/main/java/org/glassfish/jersey/ext/cdi1x/servlet/internal/CdiExternalRequestScopeExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2015, 2018 Oracle and/or its affiliates. All rights reserved.
3+
* Copyright (c) 2018 Payara Foundation and/or its affiliates.
34
*
45
* This program and the accompanying materials are made available under the
56
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -13,7 +14,6 @@
1314
*
1415
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
1516
*/
16-
// Portions Copyright [2018] Payara Foundation and/or affiliates
1717
package org.glassfish.jersey.ext.cdi1x.servlet.internal;
1818

1919
import java.lang.annotation.Annotation;

ext/cdi/jersey-cdi1x/src/main/java/org/glassfish/jersey/ext/cdi1x/internal/ProcessAllAnnotatedTypes.java

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,17 @@
11
/*
22
* Copyright (c) 2018 Payara Foundation and/or its affiliates. All rights reserved.
33
*
4-
* The contents of this file are subject to the terms of either the GNU
5-
* General Public License Version 2 only ("GPL") or the Common Development
6-
* and Distribution License("CDDL") (collectively, the "License"). You
7-
* may not use this file except in compliance with the License. You can
8-
* obtain a copy of the License at
9-
* https://github.com/payara/Payara/blob/master/LICENSE.txt
10-
* See the License for the specific
11-
* language governing permissions and limitations under the License.
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0, which is available at
6+
* http://www.eclipse.org/legal/epl-2.0.
127
*
13-
* When distributing the software, include this License Header Notice in each
14-
* file and include the License file at glassfish/legal/LICENSE.txt.
8+
* This Source Code may also be made available under the following Secondary
9+
* Licenses when the conditions for such availability set forth in the
10+
* Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
11+
* version 2 with the GNU Classpath Exception, which is available at
12+
* https://www.gnu.org/software/classpath/license.html.
1513
*
16-
* GPL Classpath Exception:
17-
* The Payara Foundation designates this particular file as subject to the "Classpath"
18-
* exception as provided by the Payara Foundation in the GPL Version 2 section of the License
19-
* file that accompanied this code.
20-
*
21-
* Modifications:
22-
* If applicable, add the following below the License Header, with the fields
23-
* enclosed by brackets [] replaced by your own identifying information:
24-
* "Portions Copyright [year] [name of copyright owner]"
25-
*
26-
* Contributor(s):
27-
* If you wish your version of this file to be governed by only the CDDL or
28-
* only the GPL Version 2, indicate your decision by adding "[Contributor]
29-
* elects to include this software in this distribution under the [CDDL or GPL
30-
* Version 2] license." If you don't indicate a single choice of license, a
31-
* recipient has the option to distribute your version of this file under
32-
* either the CDDL, the GPL Version 2 or to extend the choice of license to
33-
* its licensees as provided above. However, if you add GPL Version 2 code
34-
* and therefore, elected the GPL Version 2 license, then the option applies
35-
* only if the new code is made subject to such option by the copyright
36-
* holder.
14+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
3715
*/
3816
package org.glassfish.jersey.ext.cdi1x.internal;
3917

ext/cdi/jersey-cdi1x/src/main/java/org/glassfish/jersey/ext/cdi1x/internal/ProcessJAXRSAnnotatedTypes.java

Lines changed: 10 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,17 @@
11
/*
2-
* Copyright (c) 2017-2018 Payara Foundation and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018 Payara Foundation and/or its affiliates. All rights reserved.
33
*
4-
* The contents of this file are subject to the terms of either the GNU
5-
* General Public License Version 2 only ("GPL") or the Common Development
6-
* and Distribution License("CDDL") (collectively, the "License"). You
7-
* may not use this file except in compliance with the License. You can
8-
* obtain a copy of the License at
9-
* https://github.com/payara/Payara/blob/master/LICENSE.txt
10-
* See the License for the specific
11-
* language governing permissions and limitations under the License.
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Public License v. 2.0, which is available at
6+
* http://www.eclipse.org/legal/epl-2.0.
127
*
13-
* When distributing the software, include this License Header Notice in each
14-
* file and include the License file at glassfish/legal/LICENSE.txt.
8+
* This Source Code may also be made available under the following Secondary
9+
* Licenses when the conditions for such availability set forth in the
10+
* Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
11+
* version 2 with the GNU Classpath Exception, which is available at
12+
* https://www.gnu.org/software/classpath/license.html.
1513
*
16-
* GPL Classpath Exception:
17-
* The Payara Foundation designates this particular file as subject to the "Classpath"
18-
* exception as provided by the Payara Foundation in the GPL Version 2 section of the License
19-
* file that accompanied this code.
20-
*
21-
* Modifications:
22-
* If applicable, add the following below the License Header, with the fields
23-
* enclosed by brackets [] replaced by your own identifying information:
24-
* "Portions Copyright [year] [name of copyright owner]"
25-
*
26-
* Contributor(s):
27-
* If you wish your version of this file to be governed by only the CDDL or
28-
* only the GPL Version 2, indicate your decision by adding "[Contributor]
29-
* elects to include this software in this distribution under the [CDDL or GPL
30-
* Version 2] license." If you don't indicate a single choice of license, a
31-
* recipient has the option to distribute your version of this file under
32-
* either the CDDL, the GPL Version 2 or to extend the choice of license to
33-
* its licensees as provided above. However, if you add GPL Version 2 code
34-
* and therefore, elected the GPL Version 2 license, then the option applies
35-
* only if the new code is made subject to such option by the copyright
36-
* holder.
14+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
3715
*/
3816
package org.glassfish.jersey.ext.cdi1x.internal;
3917

0 commit comments

Comments
 (0)