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

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

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

import com.google.gwt.storage.client.Storage;
import com.googlecode.gwt.test.internal.GwtConfig;
import com.googlecode.gwt.test.patchers.PatchClass;
import com.googlecode.gwt.test.patchers.PatchMethod;

@PatchClass(Storage.class)
class StoragePatcher {

    @PatchMethod
    static boolean isLocalStorageSupported() {
        return GwtConfig.get().getModuleRunner().isLocalStorageSupported();
    }

    @PatchMethod
    static boolean isSessionStorageSupported() {
        return GwtConfig.get().getModuleRunner().isSessionStorageSupported();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy