mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
minor, removed unnecessary checks
This commit is contained in:
+1
-7
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user