Explorar el Código

If we have a cache-miss in repository loading, return a deep copy

tags/v1.3.2
James Moger hace 10 años
padre
commit
6a28f6dd38
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/main/java/com/gitblit/GitBlit.java

+ 1
- 1
src/main/java/com/gitblit/GitBlit.java Ver fichero

@@ -1670,7 +1670,7 @@ public class GitBlit implements ServletContextListener {
return null;
}
addToCachedRepositoryList(model);
return model;
return DeepCopier.copy(model);
}
// cached model

Cargando…
Cancelar
Guardar