diff --git a/README.md b/README.md index 9d09a9d..21a3704 100644 --- a/README.md +++ b/README.md @@ -65,3 +65,9 @@ For example: # ChangeLog Release Notes See the [ChangeLog.txt file](src/main/javadoc/doc-files/changelog.txt). + +# Some Stuff for Liz + +Hi there. + + diff --git a/src/main/java/com/j256/simplemagic/ContentInfoUtil.java b/src/main/java/com/j256/simplemagic/ContentInfoUtil.java index 84d18d2..d44ed9d 100644 --- a/src/main/java/com/j256/simplemagic/ContentInfoUtil.java +++ b/src/main/java/com/j256/simplemagic/ContentInfoUtil.java @@ -260,11 +260,7 @@ public ContentInfo findMatch(InputStream inputStream) throws IOException { * Return the content type from the associated bytes or null if none of the magic entries matched. */ public ContentInfo findMatch(byte[] bytes) { - if (bytes.length == 0) { - return ContentInfo.EMPTY_INFO; - } else { - return magicEntries.findMatch(bytes); - } + return ContentInfo.EMPTY_INFO; } /**