Skip to content

Commit

Permalink
Rename Jdk8AsyncEndStrategy to Jdk8AsyncSpanEndStrategy (#2664)
Browse files Browse the repository at this point in the history
  • Loading branch information
HaloFour authored Mar 31, 2021
1 parent 6ed20b3 commit 9a5c652
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static AsyncSpanEndStrategies getInstance() {
private final List<AsyncSpanEndStrategy> strategies = new CopyOnWriteArrayList<>();

private AsyncSpanEndStrategies() {
strategies.add(Jdk8AsyncEndStrategy.INSTANCE);
strategies.add(Jdk8AsyncSpanEndStrategy.INSTANCE);
}

public void registerStrategy(AsyncSpanEndStrategy strategy) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;

enum Jdk8AsyncEndStrategy implements AsyncSpanEndStrategy {
enum Jdk8AsyncSpanEndStrategy implements AsyncSpanEndStrategy {
INSTANCE;

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import spock.lang.Specification
import java.util.concurrent.CompletableFuture
import java.util.concurrent.CompletionException

class Jdk8MethodStrategyTest extends Specification {
class Jdk8AsyncSpanEndStrategyTest extends Specification {
BaseTracer tracer

Context context

def underTest = Jdk8AsyncEndStrategy.INSTANCE
def underTest = Jdk8AsyncSpanEndStrategy.INSTANCE

void setup() {
tracer = Mock()
Expand Down

0 comments on commit 9a5c652

Please sign in to comment.