Remove TODOs about Jimfs
Arbitrary NIO FileSystem support is not on the roadmap for JGit. Leave the blocker documented, but drop the TODO. Change-Id: I6f2d72267ef25e28a1573ce34bd8d4fe17c5327a
This commit is contained in:
		@@ -55,8 +55,6 @@ class InMemoryTestingDatabaseModule extends LifecycleModule {
 | 
			
		||||
  @Override
 | 
			
		||||
  protected void configure() {
 | 
			
		||||
    bind(Config.class).annotatedWith(GerritServerConfig.class).toInstance(cfg);
 | 
			
		||||
 | 
			
		||||
    // TODO(dborowitz): Use jimfs.
 | 
			
		||||
    bind(Path.class).annotatedWith(SitePath.class).toInstance(sitePath);
 | 
			
		||||
 | 
			
		||||
    if (repoManager != null) {
 | 
			
		||||
 
 | 
			
		||||
@@ -174,8 +174,8 @@ public class InMemoryModule extends FactoryModule {
 | 
			
		||||
 | 
			
		||||
    bindScope(RequestScoped.class, PerThreadRequestScope.REQUEST);
 | 
			
		||||
 | 
			
		||||
    // TODO(dborowitz): Use Jimfs. The biggest blocker is that JGit does not support Path-based
 | 
			
		||||
    // Configs, only FileBasedConfig.
 | 
			
		||||
    // It would be nice to use Jimfs for the SitePath, but the biggest blocker is that JGit does not
 | 
			
		||||
    // support Path-based Configs, only FileBasedConfig.
 | 
			
		||||
    bind(Path.class).annotatedWith(SitePath.class).toInstance(Paths.get("."));
 | 
			
		||||
    bind(Config.class).annotatedWith(GerritServerConfig.class).toInstance(cfg);
 | 
			
		||||
    bind(GerritOptions.class).toInstance(new GerritOptions(false, false, false));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user