Skip to content

Commit

Permalink
Format style
Browse files Browse the repository at this point in the history
  • Loading branch information
chanseokoh committed Sep 15, 2021
1 parent 23ce43b commit 92961a4
Showing 1 changed file with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ private static List<Statement> createClassStatements(
// "projects/{project}/locations/{location}/autoscalingPolicies/{autoscaling_policy}");
for (int i = 0; i < patterns.size(); i++) {
VariableExpr varExpr =
templateFinalVarExprs.get(i).toBuilder()
templateFinalVarExprs
.get(i)
.toBuilder()
.setIsDecl(true)
.setScope(ScopeNode.PRIVATE)
.setIsStatic(true)
Expand All @@ -238,7 +240,9 @@ private static List<Statement> createClassStatements(
}

memberVars.add(
FIXED_CLASS_VARS.get("fieldValuesMap").toBuilder()
FIXED_CLASS_VARS
.get("fieldValuesMap")
.toBuilder()
.setIsDecl(true)
.setScope(ScopeNode.PRIVATE)
.setIsVolatile(true)
Expand Down Expand Up @@ -1618,7 +1622,9 @@ private static ClassDefinition createNestedBuilderClass(
.setStaticReferenceType(FIXED_TYPESTORE.get("Objects"))
.setMethodName("equals")
.setArguments(
FIXED_CLASS_VARS.get("pathTemplate").toBuilder()
FIXED_CLASS_VARS
.get("pathTemplate")
.toBuilder()
.setExprReferenceExpr(outerClassVarExpr)
.build(),
templateFinalVarExpr)
Expand All @@ -1645,7 +1651,8 @@ private static ClassDefinition createNestedBuilderClass(
AssignmentExpr.builder()
.setVariableExpr(currClassTokenVarExpr)
.setValueExpr(
currClassTokenVarExpr.toBuilder()
currClassTokenVarExpr
.toBuilder()
.setExprReferenceExpr(outerClassVarExpr)
.build())
.build());
Expand Down

0 comments on commit 92961a4

Please sign in to comment.