Skip to content

Commit

Permalink
Constructors and methods with the same name should appear sequentiall…
Browse files Browse the repository at this point in the history
…y with no other code in between. Please re-order or re-name methods.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=311202188
  • Loading branch information
clshepherd authored and kluever committed May 13, 2020
1 parent 1a4a56d commit ee7dddf
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,6 @@ public void visit(GcLogMessage logMessage) {
}
}

abstract void gcWhileMeasuring();

@Override
public void visit(HotspotLogMessage logMessage) {
if (isWarmupComplete()) {
Expand All @@ -269,10 +267,6 @@ public void visit(HotspotLogMessage logMessage) {
}
}

abstract void hotspotWhileMeasuring();

abstract void hotspotWhileNotMeasuring();

@Override
public void visit(StartMeasurementLogMessage logMessage) {
checkState(!measuring);
Expand Down Expand Up @@ -315,6 +309,12 @@ public void visit(StopMeasurementLogMessage logMessage) {
measuring = false;
}

abstract void gcWhileMeasuring();

abstract void hotspotWhileMeasuring();

abstract void hotspotWhileNotMeasuring();

@Override
public ImmutableList<Measurement> getMeasurements() {
return ImmutableList.copyOf(measurements);
Expand Down

0 comments on commit ee7dddf

Please sign in to comment.