mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
Unnecessary code removed
GitOrigin-RevId: 294c361ee54b6f3c54afb9d6c1efc6aa6549ed90
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ca1f84752b
commit
9cbd5994b9
@@ -279,12 +279,6 @@ public final class RecursionUtils {
|
||||
return referenceExpressionDefinitelyRecurses(
|
||||
(PsiReferenceExpression)exp, method);
|
||||
}
|
||||
if (exp instanceof PsiLiteralExpression ||
|
||||
exp instanceof PsiClassObjectAccessExpression ||
|
||||
exp instanceof PsiThisExpression ||
|
||||
exp instanceof PsiSuperExpression) {
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -132,9 +132,9 @@ public class HgAnnotation extends FileAnnotation {
|
||||
@Override
|
||||
@Nullable
|
||||
public Date getLineDate(int lineNumber) {
|
||||
if (lineNumber >= myLines.size() || lineNumber < 0) {
|
||||
return null;
|
||||
}
|
||||
//if (lineNumber >= myLines.size() || lineNumber < 0) {
|
||||
// return null;
|
||||
//}
|
||||
//lines.get(lineNumber).get(HgAnnotation.FIELD.DATE)
|
||||
// todo : parse date
|
||||
return null;
|
||||
|
||||
@@ -105,8 +105,8 @@ public abstract class NodeIterator implements Iterator {
|
||||
*/
|
||||
private boolean isXPathNode(PsiElement node) {
|
||||
// null is usable, because it means end
|
||||
if (node == null)
|
||||
return true;
|
||||
//if (node == null)
|
||||
// return true;
|
||||
|
||||
// TODO: FIXME
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user