Repository: phoenix Updated Branches: refs/heads/4.x-HBase-0.98 177e2f247 -> 4198ea6af
Fix Apache RAT warnings Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/4198ea6a Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/4198ea6a Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/4198ea6a Branch: refs/heads/4.x-HBase-0.98 Commit: 4198ea6af48aadc72f120fb3cc7c1c50845989ab Parents: 177e2f2 Author: Mujtaba <mujt...@apache.org> Authored: Tue Jul 14 16:48:15 2015 -0700 Committer: Mujtaba <mujt...@apache.org> Committed: Tue Jul 14 16:48:15 2015 -0700 ---------------------------------------------------------------------- .../org/apache/phoenix/rpc/UpdateCacheIT.java | 20 +++++++++++++++++++ .../expression/function/ArrayFillFunction.java | 20 +++++++++++++++++++ .../phoenix/schema/SequenceAllocation.java | 21 +++++++++++++++++++- .../phoenix/schema/SequenceAllocationTest.java | 19 ++++++++++++++++++ .../apache/phoenix/pherf/workload/Workload.java | 18 +++++++++++++++++ .../phoenix/pig/udf/ReserveNSequenceTestIT.java | 21 ++++++++++++++++++-- 6 files changed, 116 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/4198ea6a/phoenix-core/src/it/java/org/apache/phoenix/rpc/UpdateCacheIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/rpc/UpdateCacheIT.java b/phoenix-core/src/it/java/org/apache/phoenix/rpc/UpdateCacheIT.java index c657e41..1efe5fb 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/rpc/UpdateCacheIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/rpc/UpdateCacheIT.java @@ -1,3 +1,23 @@ +/* + * Copyright 2010 The Apache Software Foundation + * + * 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 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.apache.phoenix.rpc; import static org.apache.phoenix.util.TestUtil.INDEX_DATA_SCHEMA; http://git-wip-us.apache.org/repos/asf/phoenix/blob/4198ea6a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/ArrayFillFunction.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/ArrayFillFunction.java b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/ArrayFillFunction.java index 5c3a2e5..db104e8 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/ArrayFillFunction.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/ArrayFillFunction.java @@ -1,3 +1,23 @@ +/* + * Copyright 2010 The Apache Software Foundation + * + * 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 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.apache.phoenix.expression.function; import java.util.Arrays; http://git-wip-us.apache.org/repos/asf/phoenix/blob/4198ea6a/phoenix-core/src/main/java/org/apache/phoenix/schema/SequenceAllocation.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/schema/SequenceAllocation.java b/phoenix-core/src/main/java/org/apache/phoenix/schema/SequenceAllocation.java index afb4a20..aaccc23 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/schema/SequenceAllocation.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/schema/SequenceAllocation.java @@ -1,3 +1,22 @@ +/* + * Copyright 2010 The Apache Software Foundation + * + * 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 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.apache.phoenix.schema; /** @@ -45,4 +64,4 @@ public class SequenceAllocation implements Comparable<SequenceAllocation> { return sequenceKey.compareTo(that.sequenceKey); } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/phoenix/blob/4198ea6a/phoenix-core/src/test/java/org/apache/phoenix/schema/SequenceAllocationTest.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/test/java/org/apache/phoenix/schema/SequenceAllocationTest.java b/phoenix-core/src/test/java/org/apache/phoenix/schema/SequenceAllocationTest.java index 4a825f2..86df75f 100644 --- a/phoenix-core/src/test/java/org/apache/phoenix/schema/SequenceAllocationTest.java +++ b/phoenix-core/src/test/java/org/apache/phoenix/schema/SequenceAllocationTest.java @@ -1,3 +1,22 @@ +/* + * Copyright 2010 The Apache Software Foundation + * + * 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 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.apache.phoenix.schema; import static org.junit.Assert.assertEquals; http://git-wip-us.apache.org/repos/asf/phoenix/blob/4198ea6a/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/workload/Workload.java ---------------------------------------------------------------------- diff --git a/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/workload/Workload.java b/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/workload/Workload.java index 16a493e..568cb9c 100644 --- a/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/workload/Workload.java +++ b/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/workload/Workload.java @@ -1,3 +1,21 @@ +/* + * 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 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.apache.phoenix.pherf.workload; public interface Workload { http://git-wip-us.apache.org/repos/asf/phoenix/blob/4198ea6a/phoenix-pig/src/it/java/org/apache/phoenix/pig/udf/ReserveNSequenceTestIT.java ---------------------------------------------------------------------- diff --git a/phoenix-pig/src/it/java/org/apache/phoenix/pig/udf/ReserveNSequenceTestIT.java b/phoenix-pig/src/it/java/org/apache/phoenix/pig/udf/ReserveNSequenceTestIT.java index 2cbb6cc..faaefc2 100644 --- a/phoenix-pig/src/it/java/org/apache/phoenix/pig/udf/ReserveNSequenceTestIT.java +++ b/phoenix-pig/src/it/java/org/apache/phoenix/pig/udf/ReserveNSequenceTestIT.java @@ -1,6 +1,23 @@ -/** - * +/* + * Copyright 2010 The Apache Software Foundation + * + * 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 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.apache.phoenix.pig.udf; import static org.apache.phoenix.util.PhoenixRuntime.JDBC_PROTOCOL_SEPARATOR;