Skip to content

Commit 222ae5c

Browse files
committed
Fix up license
1 parent c412625 commit 222ae5c

File tree

18 files changed

+160
-23
lines changed

18 files changed

+160
-23
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
1212
classpath 'com.netflix.nebula:gradle-dependency-lock-plugin:7.0.1'
1313
classpath 'com.netflix.nebula:nebula-publishing-plugin:16.0.0'
14-
classpath 'com.palantir.baseline:gradle-baseline-java:3.2.1'
14+
classpath 'com.palantir.baseline:gradle-baseline-java:3.4.2'
1515
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.12.2'
1616
classpath 'com.palantir.metricschema:gradle-metric-schema:0.5.2'
1717
classpath 'gradle.plugin.org.inferred:gradle-processors:3.3.0'

conjure-java-jaxrs-client/src/main/java/com/palantir/conjure/java/client/jaxrs/feignimpl/PathTemplateHeaderEnrichmentContract.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
/*
22
* (c) Copyright 2017 Palantir Technologies Inc. All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
315
*/
416

517
package com.palantir.conjure.java.client.jaxrs.feignimpl;

conjure-java-jersey-server/src/main/java/com/palantir/conjure/java/server/jersey/GuavaOptionalMessageBodyWriter.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
/*
22
* (c) Copyright 2017 Palantir Technologies Inc. All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
315
*/
416

517
/*

conjure-java-jersey-server/src/main/java/com/palantir/conjure/java/server/jersey/Java8OptionalDoubleMessageBodyWriter.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
/*
17-
* Adapted from https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/optional/OptionalDoubleMessageBodyWriter.java
18-
*/
19-
2016
package com.palantir.conjure.java.server.jersey;
2117

2218
import java.io.IOException;
@@ -32,6 +28,9 @@
3228
import javax.ws.rs.ext.MessageBodyWriter;
3329
import javax.ws.rs.ext.Provider;
3430

31+
/*
32+
* Adapted from https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/optional/OptionalDoubleMessageBodyWriter.java
33+
*/
3534
@Provider
3635
@Produces(MediaType.WILDCARD)
3736
public final class Java8OptionalDoubleMessageBodyWriter implements MessageBodyWriter<OptionalDouble> {

conjure-java-jersey-server/src/main/java/com/palantir/conjure/java/server/jersey/Java8OptionalDoubleParamConverterProvider.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
/*
17-
* Adapted from https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/optional/OptionalDoubleParamConverterProvider.java
18-
*/
1916

2017
package com.palantir.conjure.java.server.jersey;
2118

@@ -28,6 +25,9 @@
2825
import javax.ws.rs.ext.Provider;
2926
import org.glassfish.jersey.internal.inject.Custom;
3027

28+
/*
29+
* Adapted from https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/optional/OptionalDoubleParamConverterProvider.java
30+
*/
3131
// The Custom annotation ensures that our custom param converters are considered first. See ParamConverterFactory.
3232
@Custom
3333
@Provider

conjure-java-jersey-server/src/main/java/com/palantir/conjure/java/server/jersey/Java8OptionalIntMessageBodyWriter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
/*
17-
* Adapted from https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/optional/OptionalIntMessageBodyWriter.java
18-
*/
1916

2017
package com.palantir.conjure.java.server.jersey;
2118

@@ -32,6 +29,9 @@
3229
import javax.ws.rs.ext.MessageBodyWriter;
3330
import javax.ws.rs.ext.Provider;
3431

32+
/*
33+
* Adapted from https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/optional/OptionalIntMessageBodyWriter.java
34+
*/
3535
@Provider
3636
@Produces(MediaType.WILDCARD)
3737
public final class Java8OptionalIntMessageBodyWriter implements MessageBodyWriter<OptionalInt> {

conjure-java-jersey-server/src/main/java/com/palantir/conjure/java/server/jersey/Java8OptionalIntParamConverterProvider.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
/*
17-
* Adapted from https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/optional/OptionalIntParamConverterProvider.java
18-
*/
1916

2017
package com.palantir.conjure.java.server.jersey;
2118

@@ -28,6 +25,9 @@
2825
import javax.ws.rs.ext.Provider;
2926
import org.glassfish.jersey.internal.inject.Custom;
3027

28+
/*
29+
* Adapted from https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/optional/OptionalIntParamConverterProvider.java
30+
*/
3131
// The Custom annotation ensures that our custom param converters are considered first. See ParamConverterFactory.
3232
@Custom
3333
@Provider

conjure-java-jersey-server/src/main/java/com/palantir/conjure/java/server/jersey/Java8OptionalLongMessageBodyWriter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
/*
17-
* Adapted from https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/optional/OptionalDoubleMessageBodyWriter.java
18-
*/
1916

2017
package com.palantir.conjure.java.server.jersey;
2118

@@ -32,6 +29,9 @@
3229
import javax.ws.rs.ext.MessageBodyWriter;
3330
import javax.ws.rs.ext.Provider;
3431

32+
/*
33+
* Adapted from https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/optional/OptionalDoubleMessageBodyWriter.java
34+
*/
3535
@Provider
3636
@Produces(MediaType.WILDCARD)
3737
public final class Java8OptionalLongMessageBodyWriter implements MessageBodyWriter<OptionalLong> {

conjure-java-jersey-server/src/main/java/com/palantir/conjure/java/server/jersey/Java8OptionalLongParamConverterProvider.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
/*
17-
* Adapted from https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/optional/OptionalLongParamConverterProvider.java
18-
*/
1916

2017
package com.palantir.conjure.java.server.jersey;
2118

@@ -28,6 +25,9 @@
2825
import javax.ws.rs.ext.Provider;
2926
import org.glassfish.jersey.internal.inject.Custom;
3027

28+
/*
29+
* Adapted from https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/optional/OptionalLongParamConverterProvider.java
30+
*/
3131
// The Custom annotation ensures that our custom param converters are considered first. See ParamConverterFactory.
3232
@Custom
3333
@Provider

conjure-java-jersey-server/src/test/java/com/palantir/conjure/java/server/jersey/GuavaOptionalMessageBodyWriterTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
15-
*
16-
* Copied from Dropwizard on 2016-10-13. Source: https://github.com/dropwizard/dropwizard/blob/844b71047f6d70a2b507af416d7f1ad18d60b0dc/dropwizard-jersey/src/test/java/io/dropwizard/jersey/guava/OptionalMessageBodyWriterTest.java
1715
*/
1816

1917
package com.palantir.conjure.java.server.jersey;
@@ -35,6 +33,10 @@
3533
import org.glassfish.jersey.test.TestProperties;
3634
import org.junit.Test;
3735

36+
/**
37+
* Copied from Dropwizard on 2016-10-13. Source:
38+
* https://github.com/dropwizard/dropwizard/blob/844b71047f6d70a2b507af416d7f1ad18d60b0dc/dropwizard-jersey/src/test/java/io/dropwizard/jersey/guava/OptionalMessageBodyWriterTest.java
39+
*/
3840
public final class GuavaOptionalMessageBodyWriterTest extends JerseyTest {
3941

4042
@Override

0 commit comments

Comments
 (0)