Skip to content

Commit 7be87f0

Browse files
committed
checkstyle fixes
1 parent 496bfb3 commit 7be87f0

File tree

9 files changed

+100
-1
lines changed

9 files changed

+100
-1
lines changed

phoenix-core-client/src/main/java/org/apache/phoenix/schema/PTableImpl.java

-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@
143143
import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
144144
import org.apache.hadoop.hbase.util.Bytes;
145145
import org.apache.hadoop.hbase.util.Pair;
146-
import org.apache.phoenix.compat.hbase.ByteStringer;
147146
import org.apache.phoenix.compile.ExpressionCompiler;
148147
import org.apache.phoenix.compile.FromCompiler;
149148
import org.apache.phoenix.compile.QueryPlan;

phoenix-hbase-compat-2.4.1/src/main/java/org/apache/phoenix/compat/hbase/ByteStringer.java

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
// This has different signature in the HBase 2 and 3 modules
2222
// This only comes together after the maven-replacer plugin relocates all protobuf code.
2323
public class ByteStringer {
24+
25+
private ByteStringer() { }
26+
2427
public static ByteString wrap(final byte[] array) {
2528
return org.apache.hadoop.hbase.util.ByteStringer.wrap(array);
2629
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to you under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
/**
19+
* This package contains compatibility classes for bridging differences
20+
* between different versions of HBase.
21+
*/
22+
package org.apache.phoenix.compat.hbase;

phoenix-hbase-compat-2.5.0/src/main/java/org/apache/phoenix/compat/hbase/ByteStringer.java

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
// This has different signature in the HBase 2 and 3 modules
2222
// This only comes together after the maven-replacer plugin relocates all protobuf code.
2323
public class ByteStringer {
24+
25+
private ByteStringer() { }
26+
2427
public static ByteString wrap(final byte[] array) {
2528
return org.apache.hadoop.hbase.util.ByteStringer.wrap(array);
2629
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to you under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
/**
19+
* This package contains compatibility classes for bridging differences
20+
* between different versions of HBase.
21+
*/
22+
package org.apache.phoenix.compat.hbase;

phoenix-hbase-compat-2.5.4/src/main/java/org/apache/phoenix/compat/hbase/ByteStringer.java

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
// This has different signature in the HBase 2 and 3 modules
2222
// This only comes together after the maven-replacer plugin relocates all protobuf code.
2323
public class ByteStringer {
24+
25+
private ByteStringer() { }
26+
2427
public static ByteString wrap(final byte[] array) {
2528
return org.apache.hadoop.hbase.util.ByteStringer.wrap(array);
2629
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to you under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
/**
19+
* This package contains compatibility classes for bridging differences
20+
* between different versions of HBase.
21+
*/
22+
package org.apache.phoenix.compat.hbase;

phoenix-hbase-compat-2.6.0/src/main/java/org/apache/phoenix/compat/hbase/ByteStringer.java

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
// This has different signature in the HBase 2 and 3 modules
2222
// This only comes together after the maven-replacer plugin relocates all protobuf code.
2323
public class ByteStringer {
24+
25+
private ByteStringer() { }
26+
2427
public static ByteString wrap(final byte[] array) {
2528
return org.apache.hadoop.hbase.util.ByteStringer.wrap(array);
2629
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to you under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
/**
19+
* This package contains compatibility classes for bridging differences
20+
* between different versions of HBase.
21+
*/
22+
package org.apache.phoenix.compat.hbase;

0 commit comments

Comments
 (0)