From 50d2a37528d44fba03d93e8e95b647716554e6ab Mon Sep 17 00:00:00 2001 From: Matt Jacobs Date: Fri, 7 Aug 2015 16:03:51 -0700 Subject: [PATCH] Added missing license headers --- .../hystrix/perf/MultiThreadedMetricsTest.java | 15 +++++++++++++++ .../netflix/hystrix/perf/RollingMaxPerfTest.java | 16 +++++++++++++++- .../hystrix/perf/RollingNumberPerfTest.java | 16 +++++++++++++++- .../hystrix/perf/RollingPercentilePerfTest.java | 15 +++++++++++++++ .../com/netflix/hystrix/HystrixCounters.java | 15 +++++++++++++++ 5 files changed, 75 insertions(+), 2 deletions(-) diff --git a/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/MultiThreadedMetricsTest.java b/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/MultiThreadedMetricsTest.java index 4466f20bd..b4cf55c79 100644 --- a/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/MultiThreadedMetricsTest.java +++ b/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/MultiThreadedMetricsTest.java @@ -1,3 +1,18 @@ +/** + * Copyright 2015 Netflix, 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 com.netflix.hystrix.perf; import com.netflix.hystrix.HystrixCommand; diff --git a/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/RollingMaxPerfTest.java b/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/RollingMaxPerfTest.java index 7d664a6cc..837c1f55e 100644 --- a/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/RollingMaxPerfTest.java +++ b/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/RollingMaxPerfTest.java @@ -1,6 +1,20 @@ +/** + * Copyright 2015 Netflix, 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 com.netflix.hystrix.perf; -import com.netflix.hystrix.strategy.properties.HystrixProperty; import com.netflix.hystrix.util.HystrixRollingNumber; import com.netflix.hystrix.util.HystrixRollingNumberEvent; import org.openjdk.jmh.annotations.Benchmark; diff --git a/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/RollingNumberPerfTest.java b/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/RollingNumberPerfTest.java index a8e4a3336..83882d198 100644 --- a/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/RollingNumberPerfTest.java +++ b/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/RollingNumberPerfTest.java @@ -1,6 +1,20 @@ +/** + * Copyright 2015 Netflix, 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 com.netflix.hystrix.perf; -import com.netflix.hystrix.strategy.properties.HystrixProperty; import com.netflix.hystrix.util.HystrixRollingNumber; import com.netflix.hystrix.util.HystrixRollingNumberEvent; import org.openjdk.jmh.annotations.Benchmark; diff --git a/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/RollingPercentilePerfTest.java b/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/RollingPercentilePerfTest.java index 05a21174c..a3719d24c 100644 --- a/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/RollingPercentilePerfTest.java +++ b/hystrix-core/src/jmh/java/com/netflix/hystrix/perf/RollingPercentilePerfTest.java @@ -1,3 +1,18 @@ +/** + * Copyright 2015 Netflix, 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 com.netflix.hystrix.perf; import com.netflix.hystrix.strategy.properties.HystrixProperty; diff --git a/hystrix-core/src/main/java/com/netflix/hystrix/HystrixCounters.java b/hystrix-core/src/main/java/com/netflix/hystrix/HystrixCounters.java index 151683142..47a74eb4e 100644 --- a/hystrix-core/src/main/java/com/netflix/hystrix/HystrixCounters.java +++ b/hystrix-core/src/main/java/com/netflix/hystrix/HystrixCounters.java @@ -1,3 +1,18 @@ +/** + * Copyright 2015 Netflix, 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 com.netflix.hystrix; import java.util.concurrent.atomic.AtomicInteger;