package io.goit.teamcity.fogbugz;

import jetbrains.buildServer.serverSide.BuildServerListener;
import jetbrains.buildServer.serverSide.ServerPaths;
import jetbrains.buildServer.util.EventDispatcher;
import jetbrains.buildServer.util.cache.EhCacheUtil;
import jetbrains.buildServer.util.cache.ResetCacheRegisterImpl;

public class EhCacheUtilStub extends EhCacheUtil {

    public EhCacheUtilStub() {
        super(new ServerPaths("", "", "", ""), EventDispatcher.create(BuildServerListener.class), new ResetCacheRegisterImpl());
    }
}

@@ -309,16 +309,87 @@
 terImpl;
+%0Aimport net.sf.ehcache.Cache;%0Aimport org.jetbrains.annotations.NotNull;
 %0A%0Apublic
@@ -599,11 +599,140 @@
 );%0A    %7D
+%0A%0A    @NotNull%0A    @Override%0A    public Cache createCache(@NotNull String name) %7B%0A        return createInMemoryCache(name);%0A    %7D
 %0A%7D%0A

Use in-memory cache store.