java - The type TransactionCallback is not generic; it cannot be parameterized with arguments [Ao entity] -
in below stuff, shows me error "the type transactioncallback not generic; cannot parameterized arguments " in eclipse editor.
import com.atlassian.sal.api.transaction.transactioncallback; ao.executeintransaction(new transactioncallback<entityissues>() // (1) { @override public todo dointransaction() { //storing stuff } }); <dependency> <groupid>com.atlassian.sal</groupid> <artifactid>sal-api</artifactid> <version>2.0.17</version> <scope>provided</scope> </dependency>
my javase version - 1.7.0
any idea why not taking generic object ?
you remove generic parameterization:
new transactioncallback()
Comments
Post a Comment