Fix typo in error message shown when time-tracking is not available in YouTrack
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Wed, 11 Nov 2015 14:45:11 +0000 (17:45 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Fri, 13 Nov 2015 14:23:05 +0000 (17:23 +0300)
plugins/tasks/tasks-core/src/com/intellij/tasks/youtrack/YouTrackRepository.java

index c67fa68343683404883817530c0989d4e80097bf..992c96809dc0b07d85df763ee80b5579cbed89c0 100644 (file)
@@ -372,7 +372,7 @@ public class YouTrackRepository extends BaseRepositoryImpl {
       Element element = new SAXBuilder(false).build(stream).getRootElement();
       final boolean timeTrackingAvailable = element.getName().equals("version") && VersionComparatorUtil.compare(element.getChildText("version"), "4.1") >= 0;
       if (!timeTrackingAvailable) {
-        throw new Exception("This version of Youtrack the time tracking is not supported");
+        throw new Exception("Time tracking is not supported in this version of Youtrack");
       }
     }
     finally {