Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Commit e0f73d4

Browse files
committed
got rid of 5 character limit in CheckText function
1 parent 9d49bc2 commit e0f73d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)