File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
dd-java-agent/src/main/java/io/opentracing/contrib/agent/helper Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 99import 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 );
You can’t perform that action at this time.
0 commit comments