fixed private field usages

This commit is contained in:
Ekaterina Tuzova
2015-01-26 19:08:59 +03:00
parent 6f7dd55260
commit 7fd9304d58
2 changed files with 3 additions and 4 deletions
@@ -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() {
@@ -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 {