Skip to content

Commit 6107454

Browse files
committed
be more readable
1 parent 634ada7 commit 6107454

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dd-java-agent/src/main/java/io/opentracing/contrib/agent/helper/DDAgentTracingHelper.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import java.util.logging.Logger;
1010

1111

12-
public abstract class DDAgentTracingHelper<E> extends OpenTracingHelper {
12+
public abstract class DDAgentTracingHelper<ObjectType> extends OpenTracingHelper {
1313

1414
protected static Tracer tracer;
1515
private static final Logger LOGGER = Logger.getLogger(DDAgentTracingHelper.class.getCanonicalName());
@@ -25,10 +25,10 @@ public DDAgentTracingHelper(Rule rule) {
2525
}
2626
}
2727

28-
public E patch(E args) {
28+
public ObjectType patch(ObjectType args) {
2929

3030
info("Try to patch " + args.getClass().getName());
31-
E patched;
31+
ObjectType patched;
3232
try {
3333
patched = doPatch(args);
3434
info(args.getClass().getName() + " patched");
@@ -41,7 +41,7 @@ public E patch(E args) {
4141

4242
}
4343

44-
abstract protected E doPatch(E input) throws Exception;
44+
abstract protected ObjectType doPatch(ObjectType input) throws Exception;
4545

4646
protected void warning(String message) {
4747
log(Level.WARNING, message);

0 commit comments

Comments
 (0)