mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 16:58:56 +00:00
Removed more warnings
This commit is contained in:
parent
653aa74bc5
commit
388cda17b3
2 changed files with 2 additions and 5 deletions
|
@ -110,8 +110,7 @@ public abstract class AbstractPartialContentAssistParser extends AbstractContent
|
|||
}
|
||||
} else {
|
||||
if (!skipOptional) {
|
||||
if (appendTextToParse((ICompositeNode) child, offset, skipOptional
|
||||
|| child.getTotalEndOffset() < offset, result)) {
|
||||
if (appendTextToParse((ICompositeNode) child, offset, child.getTotalEndOffset() < offset, result)) {
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
|
@ -119,7 +118,7 @@ public abstract class AbstractPartialContentAssistParser extends AbstractContent
|
|||
if (skippedAs != null) {
|
||||
result.append(skippedAs);
|
||||
} else {
|
||||
if (appendTextToParse((ICompositeNode) child, offset, skipOptional, result)) {
|
||||
if (appendTextToParse((ICompositeNode) child, offset, true, result)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,10 +24,8 @@ import org.eclipse.xtext.nodemodel.ICompositeNode;
|
|||
import org.eclipse.xtext.nodemodel.ILeafNode;
|
||||
import org.eclipse.xtext.nodemodel.util.NodeModelUtils;
|
||||
import org.eclipse.xtext.resource.ILocationInFileProvider;
|
||||
import org.eclipse.xtext.util.IAcceptor;
|
||||
import org.eclipse.xtext.util.ITextRegion;
|
||||
import org.eclipse.xtext.validation.DiagnosticConverterImpl;
|
||||
import org.eclipse.xtext.validation.Issue;
|
||||
|
||||
import com.google.common.base.Splitter;
|
||||
import com.google.inject.Inject;
|
||||
|
|
Loading…
Reference in a new issue