From 89bfc7d846fd827a612462e265a7fc2713774e5f Mon Sep 17 00:00:00 2001 From: Jon Schneider Date: Tue, 16 May 2017 17:41:56 -0500 Subject: [PATCH] Add license headers --- .../springframework/metrics/instrument/Tags.java | 15 +++++++++++++++ .../metrics/instrument/binder/LogbackMetrics.java | 15 +++++++++++++++ .../instrument/binder/MetricsTurboFilter.java | 15 +++++++++++++++ .../metrics/instrument/internal/MeterId.java | 15 +++++++++++++++ .../prometheus/PrometheusMeterRegistry.java | 8 ++++---- .../instrument/AbstractMeterRegistryTest.java | 15 +++++++++++++++ .../instrument/binder/LogbackMetricsTest.java | 15 +++++++++++++++ .../metrics/instrument/internal/MeterIdTest.java | 15 +++++++++++++++ 8 files changed, 109 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/springframework/metrics/instrument/Tags.java b/src/main/java/org/springframework/metrics/instrument/Tags.java index 6849d94bbe..edaa4c937c 100644 --- a/src/main/java/org/springframework/metrics/instrument/Tags.java +++ b/src/main/java/org/springframework/metrics/instrument/Tags.java @@ -1,3 +1,18 @@ +/** + * Copyright 2017 Pivotal Software, Inc. + * + * 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.springframework.metrics.instrument; import java.util.ArrayList; diff --git a/src/main/java/org/springframework/metrics/instrument/binder/LogbackMetrics.java b/src/main/java/org/springframework/metrics/instrument/binder/LogbackMetrics.java index 3dafa46d64..c87e47185b 100644 --- a/src/main/java/org/springframework/metrics/instrument/binder/LogbackMetrics.java +++ b/src/main/java/org/springframework/metrics/instrument/binder/LogbackMetrics.java @@ -1,3 +1,18 @@ +/** + * Copyright 2017 Pivotal Software, Inc. + * + * 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.springframework.metrics.instrument.binder; import ch.qos.logback.classic.LoggerContext; diff --git a/src/main/java/org/springframework/metrics/instrument/binder/MetricsTurboFilter.java b/src/main/java/org/springframework/metrics/instrument/binder/MetricsTurboFilter.java index aa952b75e9..8371ec32c2 100644 --- a/src/main/java/org/springframework/metrics/instrument/binder/MetricsTurboFilter.java +++ b/src/main/java/org/springframework/metrics/instrument/binder/MetricsTurboFilter.java @@ -1,3 +1,18 @@ +/** + * Copyright 2017 Pivotal Software, Inc. + * + * 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.springframework.metrics.instrument.binder; import ch.qos.logback.classic.Level; diff --git a/src/main/java/org/springframework/metrics/instrument/internal/MeterId.java b/src/main/java/org/springframework/metrics/instrument/internal/MeterId.java index c6e0f6225e..58ee6fda7f 100644 --- a/src/main/java/org/springframework/metrics/instrument/internal/MeterId.java +++ b/src/main/java/org/springframework/metrics/instrument/internal/MeterId.java @@ -1,3 +1,18 @@ +/** + * Copyright 2017 Pivotal Software, Inc. + * + * 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.springframework.metrics.instrument.internal; import org.springframework.metrics.instrument.Tag; diff --git a/src/main/java/org/springframework/metrics/instrument/prometheus/PrometheusMeterRegistry.java b/src/main/java/org/springframework/metrics/instrument/prometheus/PrometheusMeterRegistry.java index c6b6bc51b2..8f080a47c1 100644 --- a/src/main/java/org/springframework/metrics/instrument/prometheus/PrometheusMeterRegistry.java +++ b/src/main/java/org/springframework/metrics/instrument/prometheus/PrometheusMeterRegistry.java @@ -1,12 +1,12 @@ /** * Copyright 2017 Pivotal Software, Inc. - *

+ * * 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 - *

+ * + * 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. diff --git a/src/test/java/org/springframework/metrics/instrument/AbstractMeterRegistryTest.java b/src/test/java/org/springframework/metrics/instrument/AbstractMeterRegistryTest.java index 0afc2b25b2..4212733925 100644 --- a/src/test/java/org/springframework/metrics/instrument/AbstractMeterRegistryTest.java +++ b/src/test/java/org/springframework/metrics/instrument/AbstractMeterRegistryTest.java @@ -1,3 +1,18 @@ +/** + * Copyright 2017 Pivotal Software, Inc. + * + * 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.springframework.metrics.instrument; import org.junit.jupiter.api.DisplayName; diff --git a/src/test/java/org/springframework/metrics/instrument/binder/LogbackMetricsTest.java b/src/test/java/org/springframework/metrics/instrument/binder/LogbackMetricsTest.java index b5983648bd..14a768ce99 100644 --- a/src/test/java/org/springframework/metrics/instrument/binder/LogbackMetricsTest.java +++ b/src/test/java/org/springframework/metrics/instrument/binder/LogbackMetricsTest.java @@ -1,3 +1,18 @@ +/** + * Copyright 2017 Pivotal Software, Inc. + * + * 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.springframework.metrics.instrument.binder; import org.junit.jupiter.api.Test; diff --git a/src/test/java/org/springframework/metrics/instrument/internal/MeterIdTest.java b/src/test/java/org/springframework/metrics/instrument/internal/MeterIdTest.java index c0c261a9e5..c14a3678d0 100644 --- a/src/test/java/org/springframework/metrics/instrument/internal/MeterIdTest.java +++ b/src/test/java/org/springframework/metrics/instrument/internal/MeterIdTest.java @@ -1,3 +1,18 @@ +/** + * Copyright 2017 Pivotal Software, Inc. + * + * 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.springframework.metrics.instrument.internal; import org.junit.jupiter.api.Test;