projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor clean up and bug fix.
[gcc.git]
/
libjava
/
gnu
/
gcj
/
io
/
MimeTypes.java
diff --git
a/libjava/gnu/gcj/io/MimeTypes.java
b/libjava/gnu/gcj/io/MimeTypes.java
index 36d3eb86f1463e031a1f75a44e09b22ac8f2a325..f4a114bf9e89222f10cb1fc343fc5f25e117f303 100644
(file)
--- a/
libjava/gnu/gcj/io/MimeTypes.java
+++ b/
libjava/gnu/gcj/io/MimeTypes.java
@@
-36,7
+36,7
@@
public class MimeTypes
{
// Read the next extension
String e = tokenizer.nextToken ();
- if (
! e.startsWith ("#"
))
+ if (
(e != null) && (! e.startsWith ("#")
))
table.put (e, t);
else
break;