package org.apache.hadoop.mapred;

import org.apache.hadoop.io.Closeable;
import org.apache.hadoop.mapred.JobConfigurable;

/**
 * A class to implement the trivial close and configure methods.
 * @author Owen O'Malley
 */
public class MapReduceBase implements Closeable, JobConfigurable {

  public void close() {
  }

  public void configure(JobConf job) {
  }

}

@@ -1,8 +1,624 @@
+/**%0A * Copyright 2006 The Apache Software Foundation%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0A
 package 
@@ -644,16 +644,45 @@
 apred;%0A%0A
+import java.io.IOException;%0A%0A
 import o
@@ -769,64 +769,121 @@
 %0A/**
-%0A * A
+ Base
  class 
-to implement the trivial close and configure
+for %7B@link Mapper%7D and %7B@link Reducer%7D implementations.%0A * Provides default implementations for a few
  met
@@ -888,16 +888,19 @@
 ethods.%0A
+ *%0A
  * @auth
@@ -994,34 +994,155 @@
 %0A%0A  
-public void close() %7B%0A  %7D%0A
+/** Default implementation that does nothing. */%0A  public void close() throws IOException %7B%0A  %7D%0A%0A  /** Default implementation that does nothing. */
 %0A  p

Fix so that close() throws IOException, so that classes which override this method can throw IOException, as specified in the Closeable interface. Also add the Apache license (which must be in every file) and add a bit more javadoc.