All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.googlecode.gwt.test.internal.patchers.DeferredCommandPatcher Maven / Gradle / Ivy

There is a newer version: 0.63
Show newest version
package com.googlecode.gwt.test.internal.patchers;

import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.DeferredCommand;
import com.google.gwt.user.client.IncrementalCommand;
import com.googlecode.gwt.test.patchers.PatchClass;
import com.googlecode.gwt.test.patchers.PatchMethod;

@SuppressWarnings("deprecation")
@PatchClass(DeferredCommand.class)
class DeferredCommandPatcher {

    @PatchMethod
    static void addCommand(Command command) {
        command.execute();
    }

    @PatchMethod
    static void addCommand(IncrementalCommand command) {
        command.execute();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy