Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) I've accidentally used Java 5.0 syntax for enumerations

theli081ebd5517f0
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<String> SUPPORTED_MIME_TYPES = new HashSet<String>(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<String> SUPPORTED_MIME_TYPES = new HashSet<String>(Arrays.asList(new String[] {
+ public static final HashSet SUPPORTED_MIME_TYPES = new HashSet(Arrays.asList(new String[] {
new String("application/pdf")
}));