diff --git a/src/main/java/org/springframework/metrics/instrument/ThrowableCallable.java b/src/main/java/org/springframework/metrics/instrument/ThrowableCallable.java index aa29294b3b..aee4e3c526 100644 --- a/src/main/java/org/springframework/metrics/instrument/ThrowableCallable.java +++ b/src/main/java/org/springframework/metrics/instrument/ThrowableCallable.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; @FunctionalInterface diff --git a/src/main/java/org/springframework/metrics/instrument/annotation/TimedSet.java b/src/main/java/org/springframework/metrics/instrument/annotation/TimedSet.java index 19ec042430..151a0e5515 100644 --- a/src/main/java/org/springframework/metrics/instrument/annotation/TimedSet.java +++ b/src/main/java/org/springframework/metrics/instrument/annotation/TimedSet.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.annotation; import java.lang.annotation.*; diff --git a/src/main/java/org/springframework/metrics/instrument/internal/TimedUtils.java b/src/main/java/org/springframework/metrics/instrument/internal/TimedUtils.java index da76903bd0..5876c50b58 100644 --- a/src/main/java/org/springframework/metrics/instrument/internal/TimedUtils.java +++ b/src/main/java/org/springframework/metrics/instrument/internal/TimedUtils.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.annotation.Timed; diff --git a/src/main/java/org/springframework/metrics/instrument/scheduling/MetricsSchedulingAspect.java b/src/main/java/org/springframework/metrics/instrument/scheduling/MetricsSchedulingAspect.java index b2a1f2a65f..0795bdac60 100644 --- a/src/main/java/org/springframework/metrics/instrument/scheduling/MetricsSchedulingAspect.java +++ b/src/main/java/org/springframework/metrics/instrument/scheduling/MetricsSchedulingAspect.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.scheduling; import com.google.common.base.Functions; diff --git a/src/test/java/org/springframework/metrics/instrument/scheduling/MetricsSchedulingAspectTest.java b/src/test/java/org/springframework/metrics/instrument/scheduling/MetricsSchedulingAspectTest.java index 376dc8fdba..5fd7f94ccc 100644 --- a/src/test/java/org/springframework/metrics/instrument/scheduling/MetricsSchedulingAspectTest.java +++ b/src/test/java/org/springframework/metrics/instrument/scheduling/MetricsSchedulingAspectTest.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.scheduling; import org.junit.jupiter.api.Test; diff --git a/src/test/java/org/springframework/metrics/instrument/web/WebmvcMetricsHandlerInterceptorTest.java b/src/test/java/org/springframework/metrics/instrument/web/WebmvcMetricsHandlerInterceptorTest.java index 4c164df807..0f7c23f94f 100644 --- a/src/test/java/org/springframework/metrics/instrument/web/WebmvcMetricsHandlerInterceptorTest.java +++ b/src/test/java/org/springframework/metrics/instrument/web/WebmvcMetricsHandlerInterceptorTest.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.