mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed private field usages
This commit is contained in:
@@ -15,7 +15,6 @@ import java.util.List;
|
||||
|
||||
public class CCDocumentListenerTest extends CCTestCase {
|
||||
|
||||
|
||||
//EDU-221
|
||||
public void testLongTaskWindows() throws Exception {
|
||||
PsiFile psiFile = myFixture.configureByFile("helloworld.py");
|
||||
@@ -50,8 +49,8 @@ public class CCDocumentListenerTest extends CCTestCase {
|
||||
@NotNull final Document document,
|
||||
@NotNull final AnswerPlaceholder answerPlaceholder) {
|
||||
final String taskText = answerPlaceholder.getTaskText();
|
||||
final int lineStartOffset = document.getLineStartOffset(answerPlaceholder.line);
|
||||
final int offset = lineStartOffset + answerPlaceholder.start;
|
||||
final int lineStartOffset = document.getLineStartOffset(answerPlaceholder.getLine());
|
||||
final int offset = lineStartOffset + answerPlaceholder.getStart();
|
||||
CommandProcessor.getInstance().executeCommand(project, new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ public class CCDirectoryNode extends PsiDirectoryNode {
|
||||
if (lesson != null) {
|
||||
data.clearText();
|
||||
data.addText(valueName, SimpleTextAttributes.REGULAR_ATTRIBUTES);
|
||||
data.addText(" (" + lesson.name + ")", SimpleTextAttributes.GRAYED_ATTRIBUTES);
|
||||
data.addText(" (" + lesson.getName() + ")", SimpleTextAttributes.GRAYED_ATTRIBUTES);
|
||||
return;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user