Skip to content

Commit 4843e7b

Browse files
author
Divneet Kaur
committed
fixed checkstyle:
1 parent 8e95c1a commit 4843e7b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -3016,7 +3016,7 @@ public void dropTable(RpcController controller, DropTableRequest request,
30163016
Pair<List<PTable>, List<TableInfo>> descendantViews =
30173017
findAllDescendantViews(hTable, env.getConfiguration(),
30183018
tenantIdBytes, schemaName, tableOrViewName, clientTimeStamp,
3019-
true,true);
3019+
true, true);
30203020
List<PTable> legitimateChildViews = descendantViews.getFirst();
30213021
List<TableInfo> orphanChildViews = descendantViews.getSecond();
30223022
if (!legitimateChildViews.isEmpty()) {
@@ -3438,7 +3438,7 @@ private Optional<MetaDataMutationResult> validateIfMutationAllowedOnParent(
34383438
childViews.addAll(findAllDescendantViews(hTable, sysCat, env.getConfiguration(),
34393439
tenantId, schemaName, tableOrViewName, clientTimeStamp, new ArrayList<>(),
34403440
new ArrayList<>(), false,
3441-
scanSysCatForTTLDefinedOnAnyChildPair,true)
3441+
scanSysCatForTTLDefinedOnAnyChildPair, true)
34423442
.getFirst());
34433443
}
34443444

phoenix-core-server/src/main/java/org/apache/phoenix/mapreduce/transform/PhoenixTransformWithViewsInputFormat.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ public List<InputSplit> getSplits(JobContext context) throws IOException, Interr
7171
String schemaName = SchemaUtil.getSchemaNameFromFullName(oldDataTableFullName);
7272
String tableName = SchemaUtil.getTableNameFromFullName(oldDataTableFullName);
7373
byte[] schemaNameBytes = Strings.isNullOrEmpty(schemaName) ? null : schemaName.getBytes();
74-
Pair<List<PTable>, List<TableInfo>> allDescendantViews = ViewUtil.findAllDescendantViews(hTable, configuration, null, schemaNameBytes,
75-
tableName.getBytes(), EnvironmentEdgeManager.currentTimeMillis(), false,true);
74+
Pair<List<PTable>, List<TableInfo>> allDescendantViews =
75+
ViewUtil.findAllDescendantViews(hTable, configuration, null, schemaNameBytes,
76+
tableName.getBytes(), EnvironmentEdgeManager.currentTimeMillis(),
77+
false, true);
7678
List<PTable> legitimateDecendants = allDescendantViews.getFirst();
7779

7880
List<InputSplit> inputSplits = new ArrayList<>();

0 commit comments

Comments
 (0)