minor, removed unnecessary checks

This commit is contained in:
Yaroslav Lepenkin
2015-07-16 17:35:19 +03:00
parent beecae9790
commit 5d3b7de09f
@@ -33,13 +33,7 @@ public class JavaLineWrapPositionStrategy extends DefaultLineWrapPositionStrateg
}
}
if (charAtOffset == '.' || charAtOffset == ' ') {
if (isInsideJDLinkTag(document, offset)) {
return false;
}
}
if (isInsideHrefTag(document, offset)) {
if (isInsideJDLinkTag(document, offset) || isInsideHrefTag(document, offset)) {
return false;
}