reset main and minor parameters when handler is called again

This commit is contained in:
Konstantin Bulenkov
2016-02-10 18:54:07 +01:00
parent 178a0e7326
commit 67f857f3a2
@@ -44,6 +44,8 @@ public class JetBrainsProtocolHandler {
return;
}
String platformPrefix = urlParts.get(0);
ourMainParameter = null;
ourParameters.clear();
ourCommand = urlParts.get(1);
if (urlParts.size() > 2) {
url = url.substring(platformPrefix.length() + 1 + ourCommand.length() + 1);