Update MockApplication.java

Return not null future from executeOnPooledThread method
IDEA-103760
resolve profiler
don't stop resolving in closure
Nullable/NotNull
resolve profiler
hashCode method added for HgRepositorySelectorComponent.RepositoryDisplay; annotations added
[git] Suppress warning

We don't want users of this method pass null here,
that's why it is annotated by @NotNull.
However, myUrl is @Nullable, because it is null for all local operations
[git tests] Make fields accessed from multiple threads to be volatile
[tests] Fix running our Cucumber tests from IDEA

* Add a runtime dependency to cucumber-test-runner module to
  ruby-tests and git4idea. Otherwise CucumberMain can't be
  specified as a runner in the run configuration.
* Remove dependency on the Application from CucumberMain,
  just call EventQueue.invokeAndWait.
* Move application initialization to git and ruby hooks - to the place
  where correct platform prefix can be defined.
[hg] Fix compilation: has occasionally committed local changes :(
Merge branch 'patch-2' of git://github.com/max-kammerer/intellij-community into pull59
fix imports
force quit fsnotifier if it's unresponsible
fix AIOOBE
log in console  in unitTest Mode embedded into common log method; useOfSystemOutOrSystemErr warning suppressed
Better way to run Tasks under ProgressManager in tests

Previously, Task#onSuccess or #onCancel were not executed in tests.
To fix it, use the same method for tests as for modal tasks:
Application#runProcessWithProgressSynchronously has a special case
to run in testing environment.
report boxing for polyadic and instanceof expressions, let quickfix remove unnecessary parentheses
if build session is cancelled, do not wait for file deletion thread to complete; if temp dir is builder's 'local' temp directory, continue with cleanup next time build starts (IDEA-103707)
profiling reference resolvinf and flow building