Skip to content

Commit

Permalink
Make OpsBuilder::add public final
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 515682100
  • Loading branch information
nreid260 authored and google-java-format Team committed Mar 10, 2023
1 parent 1a00656 commit 4c1aeff
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -159,7 +159,7 @@ public BlankLineWanted merge(BlankLineWanted other) {
int depth = 0;

/** Add an {@link Op}, and record open/close ops for later validation of unclosed levels. */
private void add(Op op) {
public final void add(Op op) {
if (op instanceof OpenOp) {
depth++;
} else if (op instanceof CloseOp) {
Expand Down

0 comments on commit 4c1aeff

Please sign in to comment.