mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 09:04:15 +07:00
for "Convert to instance method" refactoring GitOrigin-RevId: 957b0b0cecf93f6ff849d4105ed864bc6ba99c8f
19 lines
362 B
Plaintext
19 lines
362 B
Plaintext
class X {
|
|
|
|
class Node {
|
|
|
|
Node skipForward2(Predicate<Node> skipWhile) {
|
|
Node node = this;
|
|
while (skipWhile.test(node)) {
|
|
Node next = node.nextNode();
|
|
if (next == null) break;
|
|
node = next;
|
|
}
|
|
return node;
|
|
}
|
|
|
|
Node nextNode() {
|
|
return null;
|
|
}
|
|
}
|
|
} |