Use the overloaded default methods for default transport.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5115 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -261,9 +261,9 @@ public abstract class InvocationTask extends Task
|
||||
hint = method.getDeclaringClass().getAnnotation(TransportHint.class);
|
||||
}
|
||||
if (hint == null) {
|
||||
return "Transport.DEFAULT";
|
||||
return "";
|
||||
}
|
||||
return "Transport.getInstance(Transport.Type." +
|
||||
return ", Transport.getInstance(Transport.Type." +
|
||||
hint.type().name() + ", " + hint.channel() + ")";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user