Skip to content

Commit 4b34761

Browse files
author
Divneet Kaur
committed
fixed checkstyle:
1 parent ddb8246 commit 4b34761

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
@@ -3014,7 +3014,7 @@ public void dropTable(RpcController controller, DropTableRequest request,
30143014
Pair<List<PTable>, List<TableInfo>> descendantViews =
30153015
findAllDescendantViews(hTable, env.getConfiguration(),
30163016
tenantIdBytes, schemaName, tableOrViewName, clientTimeStamp,
3017-
true,true);
3017+
true, true);
30183018
List<PTable> legitimateChildViews = descendantViews.getFirst();
30193019
List<TableInfo> orphanChildViews = descendantViews.getSecond();
30203020
if (!legitimateChildViews.isEmpty()) {
@@ -3436,7 +3436,7 @@ private Optional<MetaDataMutationResult> validateIfMutationAllowedOnParent(
34363436
childViews.addAll(findAllDescendantViews(hTable, sysCat, env.getConfiguration(),
34373437
tenantId, schemaName, tableOrViewName, clientTimeStamp, new ArrayList<>(),
34383438
new ArrayList<>(), false,
3439-
scanSysCatForTTLDefinedOnAnyChildPair,true)
3439+
scanSysCatForTTLDefinedOnAnyChildPair, true)
34403440
.getFirst());
34413441
}
34423442

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)