Most of applications initially are single threaded, and IntelliJ IDEA was no different; though luckily, now it isn't — but we had to adapt our code to use multiple threads. In this post I'm going to tell you how.
In our example we see SAXBuilder, which is too expensive to be created every time we n…