fixed EDU-122 Exception while reloading empty task
authorLiana Bakradze <liana.bakradze@jetbrains.com>
Thu, 15 Jan 2015 14:47:17 +0000 (17:47 +0300)
committerLiana Bakradze <liana.bakradze@jetbrains.com>
Thu, 15 Jan 2015 14:47:17 +0000 (17:47 +0300)
commit273b2df24bef564282ffe2d217bf8fd975e2a86e
tree4afffcae9862bbbc6771017b3c468d5b1053d223
parent253627eaa45f631acb5f9a7eba19c30a3f4d231a
fixed EDU-122 Exception while reloading empty task

in case of course deletion NPE happened and user got strange exception about listener also made a bit of code cleanup
python/educational/interactive-learning/src/com/jetbrains/edu/learning/StudyDocumentListener.java
python/educational/interactive-learning/src/com/jetbrains/edu/learning/StudyState.java
python/educational/interactive-learning/src/com/jetbrains/edu/learning/StudyUtils.java
python/educational/interactive-learning/src/com/jetbrains/edu/learning/actions/StudyRefreshTaskFileAction.java
python/educational/interactive-learning/src/com/jetbrains/edu/learning/course/Lesson.java
python/educational/interactive-learning/src/com/jetbrains/edu/learning/course/TaskFile.java
python/educational/interactive-learning/src/com/jetbrains/edu/learning/editor/StudyEditor.java