*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
- public static class InsertToken implements ClientPutCallback {
+ public class InsertToken implements ClientPutCallback {
/** The image being inserted. */
private final Image image;
*
* @see ImageInsertListener#imageInsertAborted(Image)
*/
+ @SuppressWarnings("synthetic-access")
public void cancel() {
- clientPutter.cancel(null, null);
+ clientPutter.cancel(null, node.clientCore.clientContext);
for (ImageInsertListener imageInsertListener : imageInsertListeners) {
imageInsertListener.imageInsertAborted(image);
}