From cf65c9fe0810a635c6a2928c86c97c1abe97b55d Mon Sep 17 00:00:00 2001 From: Ewen Cheslack-Postava Date: Fri, 23 Jan 2015 12:31:34 -0800 Subject: [PATCH] Update copyright license headers. Fixes #1. --- config/pom.xml | 16 ++++++++++++++++ .../common/config/AbstractConfig.java | 18 ++++++++++++++++++ .../io/confluent/common/config/ConfigDef.java | 18 ++++++++++++++++++ .../common/config/ConfigException.java | 18 ++++++++++++++++++ .../confluent/common/config/ConfigDefTest.java | 18 ++++++++++++++++++ metrics/pom.xml | 16 ++++++++++++++++ .../confluent/common/metrics/CompoundStat.java | 18 ++++++++++++++++++ .../confluent/common/metrics/JmxReporter.java | 18 ++++++++++++++++++ .../confluent/common/metrics/KafkaMetric.java | 18 ++++++++++++++++++ .../confluent/common/metrics/Measurable.java | 18 ++++++++++++++++++ .../common/metrics/MeasurableStat.java | 18 ++++++++++++++++++ .../io/confluent/common/metrics/Metric.java | 18 ++++++++++++++++++ .../confluent/common/metrics/MetricConfig.java | 18 ++++++++++++++++++ .../confluent/common/metrics/MetricName.java | 18 ++++++++++++++++++ .../io/confluent/common/metrics/Metrics.java | 18 ++++++++++++++++++ .../common/metrics/MetricsReporter.java | 18 ++++++++++++++++++ .../io/confluent/common/metrics/Quota.java | 18 ++++++++++++++++++ .../metrics/QuotaViolationException.java | 18 ++++++++++++++++++ .../io/confluent/common/metrics/Sensor.java | 18 ++++++++++++++++++ .../java/io/confluent/common/metrics/Stat.java | 18 ++++++++++++++++++ .../metrics/exceptions/MetricsException.java | 16 ++++++++++++++++ .../io/confluent/common/metrics/stats/Avg.java | 18 ++++++++++++++++++ .../confluent/common/metrics/stats/Count.java | 18 ++++++++++++++++++ .../common/metrics/stats/Histogram.java | 18 ++++++++++++++++++ .../io/confluent/common/metrics/stats/Max.java | 18 ++++++++++++++++++ .../io/confluent/common/metrics/stats/Min.java | 18 ++++++++++++++++++ .../common/metrics/stats/Percentile.java | 18 ++++++++++++++++++ .../common/metrics/stats/Percentiles.java | 18 ++++++++++++++++++ .../confluent/common/metrics/stats/Rate.java | 18 ++++++++++++++++++ .../common/metrics/stats/SampledStat.java | 18 ++++++++++++++++++ .../confluent/common/metrics/stats/Total.java | 18 ++++++++++++++++++ .../common/metrics/JmxReporterTest.java | 18 ++++++++++++++++++ .../confluent/common/metrics/MetricsTest.java | 18 ++++++++++++++++++ .../common/metrics/stats/HistogramTest.java | 18 ++++++++++++++++++ .../io/confluent/common/utils/MockTime.java | 18 ++++++++++++++++++ package/pom.xml | 16 ++++++++++++++++ package/src/assembly/package.xml | 16 ++++++++++++++++ pom.xml | 16 ++++++++++++++++ utils/pom.xml | 16 ++++++++++++++++ .../java/io/confluent/common/Configurable.java | 18 ++++++++++++++++++ .../common/utils/AbstractPerformanceTest.java | 1 + .../confluent/common/utils/CopyOnWriteMap.java | 18 ++++++++++++++++++ .../io/confluent/common/utils/SystemTime.java | 18 ++++++++++++++++++ .../java/io/confluent/common/utils/Time.java | 18 ++++++++++++++++++ .../java/io/confluent/common/utils/Utils.java | 18 ++++++++++++++++++ .../java/io/confluent/common/utils/ZkData.java | 16 ++++++++++++++++ .../io/confluent/common/utils/ZkUtils.java | 16 ++++++++++++++++ 47 files changed, 811 insertions(+) diff --git a/config/pom.xml b/config/pom.xml index 39c044766fd..aaa6de1a9c3 100644 --- a/config/pom.xml +++ b/config/pom.xml @@ -1,3 +1,19 @@ + + diff --git a/config/src/main/java/io/confluent/common/config/AbstractConfig.java b/config/src/main/java/io/confluent/common/config/AbstractConfig.java index 1ad397645d0..20e01c6dd56 100644 --- a/config/src/main/java/io/confluent/common/config/AbstractConfig.java +++ b/config/src/main/java/io/confluent/common/config/AbstractConfig.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/config/src/main/java/io/confluent/common/config/ConfigDef.java b/config/src/main/java/io/confluent/common/config/ConfigDef.java index 6ef7832edb5..6a18a9b479d 100644 --- a/config/src/main/java/io/confluent/common/config/ConfigDef.java +++ b/config/src/main/java/io/confluent/common/config/ConfigDef.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/config/src/main/java/io/confluent/common/config/ConfigException.java b/config/src/main/java/io/confluent/common/config/ConfigException.java index 6e8b4041411..667e9912347 100644 --- a/config/src/main/java/io/confluent/common/config/ConfigException.java +++ b/config/src/main/java/io/confluent/common/config/ConfigException.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/config/src/test/java/io/confluent/common/config/ConfigDefTest.java b/config/src/test/java/io/confluent/common/config/ConfigDefTest.java index 446533e313d..16e5e48b9e5 100644 --- a/config/src/test/java/io/confluent/common/config/ConfigDefTest.java +++ b/config/src/test/java/io/confluent/common/config/ConfigDefTest.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/pom.xml b/metrics/pom.xml index 640c020defc..12f2667fa8c 100644 --- a/metrics/pom.xml +++ b/metrics/pom.xml @@ -1,3 +1,19 @@ + + diff --git a/metrics/src/main/java/io/confluent/common/metrics/CompoundStat.java b/metrics/src/main/java/io/confluent/common/metrics/CompoundStat.java index 078450efe42..6917d6e26d5 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/CompoundStat.java +++ b/metrics/src/main/java/io/confluent/common/metrics/CompoundStat.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/metrics/src/main/java/io/confluent/common/metrics/JmxReporter.java b/metrics/src/main/java/io/confluent/common/metrics/JmxReporter.java index 8876cfd2145..63ac0a58f78 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/JmxReporter.java +++ b/metrics/src/main/java/io/confluent/common/metrics/JmxReporter.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/KafkaMetric.java b/metrics/src/main/java/io/confluent/common/metrics/KafkaMetric.java index a2d89c483a9..59831688c12 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/KafkaMetric.java +++ b/metrics/src/main/java/io/confluent/common/metrics/KafkaMetric.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/metrics/src/main/java/io/confluent/common/metrics/Measurable.java b/metrics/src/main/java/io/confluent/common/metrics/Measurable.java index e7686592c20..eb4b52f07d3 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/Measurable.java +++ b/metrics/src/main/java/io/confluent/common/metrics/Measurable.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/MeasurableStat.java b/metrics/src/main/java/io/confluent/common/metrics/MeasurableStat.java index 0ba7cc17b2c..ea21f6b5a77 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/MeasurableStat.java +++ b/metrics/src/main/java/io/confluent/common/metrics/MeasurableStat.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/metrics/src/main/java/io/confluent/common/metrics/Metric.java b/metrics/src/main/java/io/confluent/common/metrics/Metric.java index cfe40176e3a..33c64e1cd28 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/Metric.java +++ b/metrics/src/main/java/io/confluent/common/metrics/Metric.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/metrics/src/main/java/io/confluent/common/metrics/MetricConfig.java b/metrics/src/main/java/io/confluent/common/metrics/MetricConfig.java index e3a245ebd68..ecab9d9dd8d 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/MetricConfig.java +++ b/metrics/src/main/java/io/confluent/common/metrics/MetricConfig.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/metrics/src/main/java/io/confluent/common/metrics/MetricName.java b/metrics/src/main/java/io/confluent/common/metrics/MetricName.java index 15d36eea850..d5cf519599a 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/MetricName.java +++ b/metrics/src/main/java/io/confluent/common/metrics/MetricName.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/Metrics.java b/metrics/src/main/java/io/confluent/common/metrics/Metrics.java index 6c6194f82d8..c96ba51c88d 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/Metrics.java +++ b/metrics/src/main/java/io/confluent/common/metrics/Metrics.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/MetricsReporter.java b/metrics/src/main/java/io/confluent/common/metrics/MetricsReporter.java index 9110f6e96dc..5b2e49b8211 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/MetricsReporter.java +++ b/metrics/src/main/java/io/confluent/common/metrics/MetricsReporter.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/Quota.java b/metrics/src/main/java/io/confluent/common/metrics/Quota.java index 396dc7bd956..5dde2e24ac0 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/Quota.java +++ b/metrics/src/main/java/io/confluent/common/metrics/Quota.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/metrics/src/main/java/io/confluent/common/metrics/QuotaViolationException.java b/metrics/src/main/java/io/confluent/common/metrics/QuotaViolationException.java index 084375ad028..f9aec2cb1bf 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/QuotaViolationException.java +++ b/metrics/src/main/java/io/confluent/common/metrics/QuotaViolationException.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/metrics/src/main/java/io/confluent/common/metrics/Sensor.java b/metrics/src/main/java/io/confluent/common/metrics/Sensor.java index d8477d7f43d..97773abf66e 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/Sensor.java +++ b/metrics/src/main/java/io/confluent/common/metrics/Sensor.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/Stat.java b/metrics/src/main/java/io/confluent/common/metrics/Stat.java index 149c5b0c5cc..13749a10c99 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/Stat.java +++ b/metrics/src/main/java/io/confluent/common/metrics/Stat.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/metrics/src/main/java/io/confluent/common/metrics/exceptions/MetricsException.java b/metrics/src/main/java/io/confluent/common/metrics/exceptions/MetricsException.java index 3d1acf70d19..9f744d8a56f 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/exceptions/MetricsException.java +++ b/metrics/src/main/java/io/confluent/common/metrics/exceptions/MetricsException.java @@ -1,3 +1,19 @@ +/** + * Copyright 2015 Confluent 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 io.confluent.common.metrics.exceptions; public class MetricsException extends RuntimeException { diff --git a/metrics/src/main/java/io/confluent/common/metrics/stats/Avg.java b/metrics/src/main/java/io/confluent/common/metrics/stats/Avg.java index e2ffce64a89..ab293e842ca 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/stats/Avg.java +++ b/metrics/src/main/java/io/confluent/common/metrics/stats/Avg.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/stats/Count.java b/metrics/src/main/java/io/confluent/common/metrics/stats/Count.java index 5b3646cdd0a..17970f47ab8 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/stats/Count.java +++ b/metrics/src/main/java/io/confluent/common/metrics/stats/Count.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/stats/Histogram.java b/metrics/src/main/java/io/confluent/common/metrics/stats/Histogram.java index 2d0683e9df0..633873d1ad4 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/stats/Histogram.java +++ b/metrics/src/main/java/io/confluent/common/metrics/stats/Histogram.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/metrics/src/main/java/io/confluent/common/metrics/stats/Max.java b/metrics/src/main/java/io/confluent/common/metrics/stats/Max.java index ec84a6ab5eb..c08a4e10001 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/stats/Max.java +++ b/metrics/src/main/java/io/confluent/common/metrics/stats/Max.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/stats/Min.java b/metrics/src/main/java/io/confluent/common/metrics/stats/Min.java index e5998e71250..e1d13034741 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/stats/Min.java +++ b/metrics/src/main/java/io/confluent/common/metrics/stats/Min.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/stats/Percentile.java b/metrics/src/main/java/io/confluent/common/metrics/stats/Percentile.java index 4245b441faf..beb4277bb0b 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/stats/Percentile.java +++ b/metrics/src/main/java/io/confluent/common/metrics/stats/Percentile.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/metrics/src/main/java/io/confluent/common/metrics/stats/Percentiles.java b/metrics/src/main/java/io/confluent/common/metrics/stats/Percentiles.java index bcd5ffb21fd..c92ac893103 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/stats/Percentiles.java +++ b/metrics/src/main/java/io/confluent/common/metrics/stats/Percentiles.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/stats/Rate.java b/metrics/src/main/java/io/confluent/common/metrics/stats/Rate.java index 60fe59fb808..10d894511d6 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/stats/Rate.java +++ b/metrics/src/main/java/io/confluent/common/metrics/stats/Rate.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/stats/SampledStat.java b/metrics/src/main/java/io/confluent/common/metrics/stats/SampledStat.java index 9114981d7a5..b69ff0e582e 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/stats/SampledStat.java +++ b/metrics/src/main/java/io/confluent/common/metrics/stats/SampledStat.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/main/java/io/confluent/common/metrics/stats/Total.java b/metrics/src/main/java/io/confluent/common/metrics/stats/Total.java index 55edf9c5a91..c937b3d923d 100644 --- a/metrics/src/main/java/io/confluent/common/metrics/stats/Total.java +++ b/metrics/src/main/java/io/confluent/common/metrics/stats/Total.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/test/java/io/confluent/common/metrics/JmxReporterTest.java b/metrics/src/test/java/io/confluent/common/metrics/JmxReporterTest.java index 7ec6bdbec14..1d4430f1aad 100644 --- a/metrics/src/test/java/io/confluent/common/metrics/JmxReporterTest.java +++ b/metrics/src/test/java/io/confluent/common/metrics/JmxReporterTest.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/metrics/src/test/java/io/confluent/common/metrics/MetricsTest.java b/metrics/src/test/java/io/confluent/common/metrics/MetricsTest.java index 9fdaf7fe67b..12ebe14e4a0 100644 --- a/metrics/src/test/java/io/confluent/common/metrics/MetricsTest.java +++ b/metrics/src/test/java/io/confluent/common/metrics/MetricsTest.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/metrics/src/test/java/io/confluent/common/metrics/stats/HistogramTest.java b/metrics/src/test/java/io/confluent/common/metrics/stats/HistogramTest.java index f021d44acb8..77ed4021319 100644 --- a/metrics/src/test/java/io/confluent/common/metrics/stats/HistogramTest.java +++ b/metrics/src/test/java/io/confluent/common/metrics/stats/HistogramTest.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/metrics/src/test/java/io/confluent/common/utils/MockTime.java b/metrics/src/test/java/io/confluent/common/utils/MockTime.java index 00a87d6fae0..13c955a8121 100644 --- a/metrics/src/test/java/io/confluent/common/utils/MockTime.java +++ b/metrics/src/test/java/io/confluent/common/utils/MockTime.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/package/pom.xml b/package/pom.xml index a7cd482f360..1f6f2e2df37 100644 --- a/package/pom.xml +++ b/package/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/package/src/assembly/package.xml b/package/src/assembly/package.xml index 8be5640f4ee..f08d619cb21 100644 --- a/package/src/assembly/package.xml +++ b/package/src/assembly/package.xml @@ -1,3 +1,19 @@ + + + + diff --git a/utils/pom.xml b/utils/pom.xml index eb26138fb3e..cb815620637 100644 --- a/utils/pom.xml +++ b/utils/pom.xml @@ -1,4 +1,20 @@ + + diff --git a/utils/src/main/java/io/confluent/common/Configurable.java b/utils/src/main/java/io/confluent/common/Configurable.java index 6730c4b214c..5e9de121db0 100644 --- a/utils/src/main/java/io/confluent/common/Configurable.java +++ b/utils/src/main/java/io/confluent/common/Configurable.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/utils/src/main/java/io/confluent/common/utils/AbstractPerformanceTest.java b/utils/src/main/java/io/confluent/common/utils/AbstractPerformanceTest.java index cf099c61f73..7fc33c00757 100644 --- a/utils/src/main/java/io/confluent/common/utils/AbstractPerformanceTest.java +++ b/utils/src/main/java/io/confluent/common/utils/AbstractPerformanceTest.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. **/ + package io.confluent.common.utils; public abstract class AbstractPerformanceTest { diff --git a/utils/src/main/java/io/confluent/common/utils/CopyOnWriteMap.java b/utils/src/main/java/io/confluent/common/utils/CopyOnWriteMap.java index d6c1f73a03f..3191ab87120 100644 --- a/utils/src/main/java/io/confluent/common/utils/CopyOnWriteMap.java +++ b/utils/src/main/java/io/confluent/common/utils/CopyOnWriteMap.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/utils/src/main/java/io/confluent/common/utils/SystemTime.java b/utils/src/main/java/io/confluent/common/utils/SystemTime.java index b1ac269e223..e8d11c50ed8 100644 --- a/utils/src/main/java/io/confluent/common/utils/SystemTime.java +++ b/utils/src/main/java/io/confluent/common/utils/SystemTime.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/utils/src/main/java/io/confluent/common/utils/Time.java b/utils/src/main/java/io/confluent/common/utils/Time.java index 05e992e47c0..d6dfef6164e 100644 --- a/utils/src/main/java/io/confluent/common/utils/Time.java +++ b/utils/src/main/java/io/confluent/common/utils/Time.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. diff --git a/utils/src/main/java/io/confluent/common/utils/Utils.java b/utils/src/main/java/io/confluent/common/utils/Utils.java index aa10a36814e..788ec9e12cc 100644 --- a/utils/src/main/java/io/confluent/common/utils/Utils.java +++ b/utils/src/main/java/io/confluent/common/utils/Utils.java @@ -1,4 +1,22 @@ /** + * Copyright 2015 Confluent 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. + **/ + +/** + * Original license: + * * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the diff --git a/utils/src/main/java/io/confluent/common/utils/ZkData.java b/utils/src/main/java/io/confluent/common/utils/ZkData.java index 55bd69906bb..e342cd119e5 100644 --- a/utils/src/main/java/io/confluent/common/utils/ZkData.java +++ b/utils/src/main/java/io/confluent/common/utils/ZkData.java @@ -1,3 +1,19 @@ +/** + * Copyright 2015 Confluent 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 io.confluent.common.utils; import org.apache.zookeeper.data.Stat; diff --git a/utils/src/main/java/io/confluent/common/utils/ZkUtils.java b/utils/src/main/java/io/confluent/common/utils/ZkUtils.java index 1f3c6e7aea5..df23a0ab759 100644 --- a/utils/src/main/java/io/confluent/common/utils/ZkUtils.java +++ b/utils/src/main/java/io/confluent/common/utils/ZkUtils.java @@ -1,3 +1,19 @@ +/** + * Copyright 2015 Confluent 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 io.confluent.common.utils; import org.I0Itec.zkclient.ZkClient;