Skip to content

Commit b970562

Browse files
committed
Merge pull request AlchemyAPI#4 from redorb8/master
Removed 5 character limit in CheckText function.
2 parents f371ad1 + dc4f122 commit b970562

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/com/alchemyapi/api/AlchemyAPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ private void CheckHTML(String html, String url) {
967967
}
968968

969969
private void CheckText(String text) {
970-
if (null == text || text.length() < 5)
970+
if (null == text )
971971
throw new IllegalArgumentException("Enter some text to analyze.");
972972
}
973973

0 commit comments

Comments
 (0)