pkgsrc-wip/java-gnujaf/patches/patch-ab
2009-10-20 13:15:56 +00:00

21 lines
672 B
Text

$NetBSD: patch-ab,v 1.1 2009/10/20 13:15:56 tnn2 Exp $
--- source/javax/activation/MimeType.java.orig 2006-05-13 11:50:11.000000000 +0200
+++ source/javax/activation/MimeType.java
@@ -259,14 +259,14 @@ public class MimeType
int len = token.length();
if (len == 0)
{
- throw new MimeTypeParseException(message, token);
+ throw new MimeTypeParseException(message);
}
for (int i = 0; i < len; i++)
{
char c = token.charAt(i);
if (!isValidChar(c))
{
- throw new MimeTypeParseException(message, token);
+ throw new MimeTypeParseException(message);
}
}
}