diff options
author | Tor Egge <Tor.Egge@online.no> | 2022-06-29 13:21:48 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2022-06-29 13:21:48 +0200 |
commit | b5394b940f60a10123f247dfc19bac18cb9b370e (patch) | |
tree | e2947e48aefb6d81a11f64bfa8ef150f83d5e4ae /config-model/src/main/java/com/yahoo/schema/processing | |
parent | 4eff6c24b1db63eca7c5a43f82768eda043cfedf (diff) |
Style fixes. Add member function comment.
Diffstat (limited to 'config-model/src/main/java/com/yahoo/schema/processing')
-rw-r--r-- | config-model/src/main/java/com/yahoo/schema/processing/SummaryConsistency.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config-model/src/main/java/com/yahoo/schema/processing/SummaryConsistency.java b/config-model/src/main/java/com/yahoo/schema/processing/SummaryConsistency.java index bcb0917b61a..4aa8f6f0e37 100644 --- a/config-model/src/main/java/com/yahoo/schema/processing/SummaryConsistency.java +++ b/config-model/src/main/java/com/yahoo/schema/processing/SummaryConsistency.java @@ -71,8 +71,8 @@ public class SummaryConsistency extends Processor { /** If the source is a complex field with only struct field attributes then make this use the attribute combiner transform */ private void makeAttributeCombinerTransformIfAppropriate(SummaryField summaryField, Schema schema) { if (summaryField.getTransform() == SummaryTransform.NONE) { - String source_field_name = summaryField.getSingleSource(); - ImmutableSDField source = schema.getField(source_field_name); + String sourceFieldName = summaryField.getSingleSource(); + ImmutableSDField source = schema.getField(sourceFieldName); if (source != null && isComplexFieldWithOnlyStructFieldAttributes(source)) { summaryField.setTransform(SummaryTransform.ATTRIBUTECOMBINER); } @@ -80,12 +80,12 @@ public class SummaryConsistency extends Processor { } /* - * This function must be called after makeAttributeCombinerIfAppropriate(). + * This function must be called after makeAttributeCombinerTransformIfAppropriate(). */ private void makeCopyTransformIfAppropriate(SummaryField summaryField, Schema schema) { if (summaryField.getTransform() == SummaryTransform.NONE) { - String source_field_name = summaryField.getSingleSource(); - ImmutableSDField source = schema.getField(source_field_name); + String sourceFieldName = summaryField.getSingleSource(); + ImmutableSDField source = schema.getField(sourceFieldName); if (source != null && source.usesStructOrMap() && summaryField.hasExplicitSingleSource()) { summaryField.setTransform(SummaryTransform.COPY); } |