From 7e82f5b1977ee6cf3d1b335f60d66b8204e9d8de Mon Sep 17 00:00:00 2001 From: Tyler Benson Date: Fri, 22 Feb 2019 13:42:43 -0800 Subject: [PATCH] Remove unnecessary license checker --- .../aws/v0/TracingRequestHandler.java | 13 ------------- .../aws/v2/TracingExecutionInterceptor.java | 13 ------------- .../java/datadog/trace/agent/TracingAgent.java | 16 ---------------- gradle/checkstyle.gradle | 16 ---------------- gradle/enforcement/checkstyle-api.xml | 15 --------------- gradle/enforcement/checkstyle-groovy.xml | 18 ------------------ gradle/enforcement/codenarc.groovy | 16 ---------------- gradle/enforcement/codenarcTest.groovy | 16 ---------------- gradle/enforcement/required-header.txt | 15 --------------- 9 files changed, 138 deletions(-) delete mode 100644 gradle/enforcement/required-header.txt diff --git a/dd-java-agent/instrumentation/aws-java-sdk-1.11.0/src/main/java/datadog/trace/instrumentation/aws/v0/TracingRequestHandler.java b/dd-java-agent/instrumentation/aws-java-sdk-1.11.0/src/main/java/datadog/trace/instrumentation/aws/v0/TracingRequestHandler.java index e26f29748f..59fadf348f 100644 --- a/dd-java-agent/instrumentation/aws-java-sdk-1.11.0/src/main/java/datadog/trace/instrumentation/aws/v0/TracingRequestHandler.java +++ b/dd-java-agent/instrumentation/aws-java-sdk-1.11.0/src/main/java/datadog/trace/instrumentation/aws/v0/TracingRequestHandler.java @@ -1,16 +1,3 @@ -/* - * Copyright 2017-2018 The OpenTracing 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 datadog.trace.instrumentation.aws.v0; import com.amazonaws.AmazonWebServiceRequest; diff --git a/dd-java-agent/instrumentation/aws-java-sdk-2.2/src/main/java8/datadog/trace/instrumentation/aws/v2/TracingExecutionInterceptor.java b/dd-java-agent/instrumentation/aws-java-sdk-2.2/src/main/java8/datadog/trace/instrumentation/aws/v2/TracingExecutionInterceptor.java index 02d5313062..b5f929b6ac 100644 --- a/dd-java-agent/instrumentation/aws-java-sdk-2.2/src/main/java8/datadog/trace/instrumentation/aws/v2/TracingExecutionInterceptor.java +++ b/dd-java-agent/instrumentation/aws-java-sdk-2.2/src/main/java8/datadog/trace/instrumentation/aws/v2/TracingExecutionInterceptor.java @@ -1,16 +1,3 @@ -/* - * Copyright 2017-2018 The OpenTracing 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 datadog.trace.instrumentation.aws.v2; import datadog.trace.context.TraceScope; diff --git a/dd-java-agent/src/main/java/datadog/trace/agent/TracingAgent.java b/dd-java-agent/src/main/java/datadog/trace/agent/TracingAgent.java index 0d295fdb05..fb9b079890 100644 --- a/dd-java-agent/src/main/java/datadog/trace/agent/TracingAgent.java +++ b/dd-java-agent/src/main/java/datadog/trace/agent/TracingAgent.java @@ -1,19 +1,3 @@ -/* - * Copyright 2017 Red Hat, Inc. and/or its affiliates - * and other contributors as indicated by the @author tags. - * - * 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 datadog.trace.agent; import java.io.BufferedReader; diff --git a/gradle/checkstyle.gradle b/gradle/checkstyle.gradle index 1dbf9548c1..f1901237d8 100644 --- a/gradle/checkstyle.gradle +++ b/gradle/checkstyle.gradle @@ -1,19 +1,3 @@ -/* - * Copyright 2013 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. - */ - apply plugin: 'checkstyle' dependencies { diff --git a/gradle/enforcement/checkstyle-api.xml b/gradle/enforcement/checkstyle-api.xml index f2e7f53cfd..2b0ccb2baa 100644 --- a/gradle/enforcement/checkstyle-api.xml +++ b/gradle/enforcement/checkstyle-api.xml @@ -1,18 +1,3 @@ - diff --git a/gradle/enforcement/checkstyle-groovy.xml b/gradle/enforcement/checkstyle-groovy.xml index fef668f8ee..fc51d767c8 100644 --- a/gradle/enforcement/checkstyle-groovy.xml +++ b/gradle/enforcement/checkstyle-groovy.xml @@ -1,18 +1,3 @@ - @@ -20,9 +5,6 @@ - - - diff --git a/gradle/enforcement/codenarc.groovy b/gradle/enforcement/codenarc.groovy index b6fe67ac5a..47f3fa0e91 100644 --- a/gradle/enforcement/codenarc.groovy +++ b/gradle/enforcement/codenarc.groovy @@ -1,19 +1,3 @@ -/* - * Copyright 2014 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. - */ - ruleset { // rulesets/basic.xml /* diff --git a/gradle/enforcement/codenarcTest.groovy b/gradle/enforcement/codenarcTest.groovy index 483e45e417..585b1ba174 100644 --- a/gradle/enforcement/codenarcTest.groovy +++ b/gradle/enforcement/codenarcTest.groovy @@ -1,19 +1,3 @@ -/* - * Copyright 2014 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. - */ - ruleset { // rulesets/basic.xml /* diff --git a/gradle/enforcement/required-header.txt b/gradle/enforcement/required-header.txt deleted file mode 100644 index e271b84567..0000000000 --- a/gradle/enforcement/required-header.txt +++ /dev/null @@ -1,15 +0,0 @@ -^/\*\s*$ -^ \* Copyright \d\d\d\d((\s*-\s*\d\d\d\d)|(,\s*\d\d\d\d)+)? the original author or authors.\s*$ -^ \*\s*$ -^ \* Licensed under the Apache License, Version 2\.0 \(the "License"\);\s*$ - * 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. - */