c******n 发帖数: 4965 | 1 the following code is found from Hector Cassandra java API, I couldn't
understand why it compiles fine while I thought the execute() should
declare or catch exceptions, since the testtest() throws exceptions.
(I simplified the code by adding testtest() )
public QueryResult> execute() {
return new QueryResultImpl>(
ExecutingKeyspace.testtest( (java.util.List>) null)
);
}
public static ExecutionResult testtest(java.util.List<... 阅读全帖 |
|