Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-1416 Remove o.a.n.metadata.Office

Lewis John McGibbney5cd59d24b992
diff --git a/CHANGES.txt b/CHANGES.txt
index ac1e59b24..d989c8373 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,8 @@ Nutch Change Log
(trunk) Current Development:
+* NUTCH-1417 Remove o.a.n.metadata.Office (lewismc)
+
* NUTCH-1376 Add description parameter to every ant task (lewismc)
* NUTCH-1440 reconfigure non-existent stopwords_en.txt in schema-solr4.xml (shekhar sharma via lewismc)
diff --git a/src/java/org/apache/nutch/metadata/Metadata.java b/src/java/org/apache/nutch/metadata/Metadata.java
index fd2b637cb..ae84cb859 100644
--- a/src/java/org/apache/nutch/metadata/Metadata.java
+++ b/src/java/org/apache/nutch/metadata/Metadata.java
@@ -36,7 +36,7 @@ import org.apache.hadoop.io.Writable;
*
*/
public class Metadata implements Writable, CreativeCommons,
-DublinCore, HttpHeaders, Nutch, Office, Feed {
+DublinCore, HttpHeaders, Nutch, Feed {
/**
* A map of all metadata attributes.
diff --git a/src/java/org/apache/nutch/metadata/Office.java b/src/java/org/apache/nutch/metadata/Office.java
deleted file mode 100644
index bb8f53df6..000000000
--- a/src/java/org/apache/nutch/metadata/Office.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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 org.apache.nutch.metadata;
-
-
-/**
- * A collection of <i>"Office"</i> documents properties names.
- *
- * @author Chris Mattmann
- * @author J&eacute;r&ocirc;me Charron
- */
-public interface Office {
-
- public static final String KEYWORDS = "Keywords";
-
- public static final String COMMENTS = "Comments";
-
- public static final String LAST_AUTHOR = "Last-Author";
-
- public static final String APPLICATION_NAME = "Application-Name";
-
- public static final String CHARACTER_COUNT = "Character Count";
-
- public static final String LAST_PRINTED = "Last-Printed";
-
- public static final String LAST_SAVED = "Last-Save-Date";
-
- public static final String PAGE_COUNT = "Page-Count";
-
- public static final String REVISION_NUMBER = "Revision-Number";
-
- public static final String WORD_COUNT = "Word-Count";
-
- public static final String TEMPLATE = "Template";
-
- public static final String AUTHOR = "Author";
-
-}