diff --git a/python/educational-python/Edu-Python/src/com/jetbrains/edu/learning/checker/PyStudySmartChecker.java b/python/educational-python/Edu-Python/src/com/jetbrains/edu/learning/checker/PyStudySmartChecker.java index 0848d459bebe..dd7ad5143b2c 100644 --- a/python/educational-python/Edu-Python/src/com/jetbrains/edu/learning/checker/PyStudySmartChecker.java +++ b/python/educational-python/Edu-Python/src/com/jetbrains/edu/learning/checker/PyStudySmartChecker.java @@ -24,14 +24,14 @@ import org.jetbrains.annotations.NotNull; import java.io.IOException; -public class PyStudySmartChecker { +class PyStudySmartChecker { private PyStudySmartChecker() { } private static final Logger LOG = Logger.getInstance(PyStudySmartChecker.class); - public static void smartCheck(@NotNull final AnswerPlaceholder placeholder, + private static void smartCheck(@NotNull final AnswerPlaceholder placeholder, @NotNull final Project project, @NotNull final VirtualFile answerFile, @NotNull final TaskFile answerTaskFile, @@ -82,7 +82,7 @@ public class PyStudySmartChecker { } } - public static void runSmartTestProcess(@NotNull final VirtualFile taskDir, + static void runSmartTestProcess(@NotNull final VirtualFile taskDir, @NotNull final PyStudyTestRunner testRunner, @NotNull final String taskFileName, @NotNull final TaskFile taskFile, @@ -112,7 +112,7 @@ public class PyStudySmartChecker { } } - private static Pair getCopyWithAnswers(@NotNull final VirtualFile taskDir, + static Pair getCopyWithAnswers(@NotNull final VirtualFile taskDir, @NotNull final VirtualFile file, @NotNull final TaskFile source) { try { diff --git a/python/educational-python/Edu-Python/src/com/jetbrains/edu/learning/checker/PyStudyTestRunner.java b/python/educational-python/Edu-Python/src/com/jetbrains/edu/learning/checker/PyStudyTestRunner.java index ea3bcb7a511c..cbcb35c145ae 100644 --- a/python/educational-python/Edu-Python/src/com/jetbrains/edu/learning/checker/PyStudyTestRunner.java +++ b/python/educational-python/Edu-Python/src/com/jetbrains/edu/learning/checker/PyStudyTestRunner.java @@ -18,7 +18,7 @@ import org.jetbrains.annotations.NotNull; import java.io.File; import java.util.Map; -public class PyStudyTestRunner { +class PyStudyTestRunner { private static final String PYTHONPATH = "PYTHONPATH"; @NotNull private final Task myTask; @NotNull private final VirtualFile myTaskDir; @@ -29,7 +29,7 @@ public class PyStudyTestRunner { myTaskDir = taskDir; } - public Process createCheckProcess(@NotNull final Project project, @NotNull final String executablePath) throws ExecutionException { + Process createCheckProcess(@NotNull final Project project, @NotNull final String executablePath) throws ExecutionException { final Sdk sdk = PythonSdkType.findPythonSdk(ModuleManager.getInstance(project).getModules()[0]); PyEduPluginConfigurator configurator = new PyEduPluginConfigurator(); String testsFileName = configurator.getTestFileName(); @@ -59,7 +59,7 @@ public class PyStudyTestRunner { return null; } - public GeneralCommandLine getCommandLine() { + GeneralCommandLine getCommandLine() { return myCommandLine; } }