*) 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
pull/1/head
theli 20 years ago
parent 58b1a0ba40
commit 081ebd5517

@ -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")
}));

@ -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")
}));

Loading…
Cancel
Save