Skip to content

Commit 6721241

Browse files
CoolTomatosJens-G
authored andcommitted
Update the ProcessFunction::getResult method to return the _result type instead of a general TBase
1 parent c3cdacf commit 6721241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/java/src/main/java/org/apache/thrift/ProcessFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected boolean rethrowUnhandledExceptions() {
8383

8484
public abstract boolean isOneway();
8585

86-
public abstract TBase<?, ?> getResult(I iface, T args) throws TException;
86+
public abstract A getResult(I iface, T args) throws TException;
8787

8888
public abstract T getEmptyArgsInstance();
8989

0 commit comments

Comments
 (0)