/*
 * Copyright (c) 2018 Google, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.devtools.moe.client;

import dagger.Module;
import dagger.Provides;

/**
 * A Dagger module for binding a NoopFileSystem
 */
@Module
public class NoopFileSystemModule {
  @Provides
  public FileSystem fileSystem() {
    return new NoopFileSystem();
  }
}

@@ -645,22 +645,21 @@
  dagger.
-Module
+Binds
 ;%0Aimport
@@ -670,25 +670,20 @@
 ger.
-Provides
+Module
 ;%0A%0A/**
-%0A *
  A D
@@ -723,17 +723,16 @@
 leSystem
-%0A
  */%0A@Mod
@@ -746,13 +746,17 @@
 lic 
-class
+interface
  Noo
@@ -782,25 +782,15 @@
 %0A  @
-Provides%0A  public
+Binds%0A 
  Fil
@@ -812,28 +812,24 @@
 tem(
-) %7B%0A    return new N
+NoopFileSystem n
 oopF
@@ -841,14 +841,9 @@
 stem
-(
 );%0A
-  %7D%0A
 %7D%0A

Convert NoopFileSystemModule into an interface