public RepositoryBrowser get() { if (cacheGeneration == -1) { return cache; } SCMDescriptor<?> d = owner.getDescriptor(); RepositoryBrowser<?> dflt = owner.guessBrowser(); if (dflt != null) { cache = dflt; cacheGeneration = -1; return cache; } int g = d.generation; if(g!=cacheGeneration) { cacheGeneration = g; cache = infer(); } return cache; }
public RepositoryBrowser get() { int g = owner.getDescriptor().generation; if(g!=cacheGeneration) { cacheGeneration = g; cache = infer(); } return cache; }
public RepositoryBrowser get() { int g = owner.getDescriptor().generation; if(g!=cacheGeneration) { cacheGeneration = g; cache = infer(); } return cache; }
public RepositoryBrowser get() { int g = owner.getDescriptor().generation; if (g != cacheGeneration) { cacheGeneration = g; cache = infer(); } return cache; }
public RepositoryBrowser get() { int g = owner.getDescriptor().generation; if(g!=cacheGeneration) { cacheGeneration = g; cache = infer(); } return cache; }
public RepositoryBrowser get() { if (cacheGeneration == -1) { return cache; } SCMDescriptor<?> d = owner.getDescriptor(); RepositoryBrowser<?> dflt = owner.guessBrowser(); if (dflt != null) { cache = dflt; cacheGeneration = -1; return cache; } int g = d.generation; if(g!=cacheGeneration) { cacheGeneration = g; cache = infer(); } return cache; }