From 081ebd5517f033449475206843a744db4d96d7e3 Mon Sep 17 00:00:00 2001 From: theli Date: Sun, 24 Apr 2005 21:42:02 +0000 Subject: [PATCH] *) I've accidentally used Java 5.0 syntax for enumerations git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@47 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/parser/doc/docParser.java | 2 +- source/de/anomic/plasma/parser/pdf/pdfParser.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/de/anomic/plasma/parser/doc/docParser.java b/source/de/anomic/plasma/parser/doc/docParser.java index b277345b8..c8a327196 100644 --- a/source/de/anomic/plasma/parser/doc/docParser.java +++ b/source/de/anomic/plasma/parser/doc/docParser.java @@ -54,7 +54,7 @@ public class docParser implements Parser { /** * a list of mime types that are supported by this parser class */ - public static final HashSet SUPPORTED_MIME_TYPES = new HashSet(Arrays.asList(new String[] { + public static final HashSet SUPPORTED_MIME_TYPES = new HashSet(Arrays.asList(new String[] { new String("application/msword") })); diff --git a/source/de/anomic/plasma/parser/pdf/pdfParser.java b/source/de/anomic/plasma/parser/pdf/pdfParser.java index 33c0f151b..665c8f184 100644 --- a/source/de/anomic/plasma/parser/pdf/pdfParser.java +++ b/source/de/anomic/plasma/parser/pdf/pdfParser.java @@ -28,7 +28,7 @@ public class pdfParser implements Parser /** * a list of mime types that are supported by this parser class */ - public static final HashSet SUPPORTED_MIME_TYPES = new HashSet(Arrays.asList(new String[] { + public static final HashSet SUPPORTED_MIME_TYPES = new HashSet(Arrays.asList(new String[] { new String("application/pdf") }));