"this." is not needed, there's only one variable named "extraArguments" in the context of this block (same for "instanceLock").

Also initializing the variable with new String("") is slower than just initializing with "".
You should initialize with: extraArguments = "";
Thanks to compiler optimizations, with that line, java does not even need to create a new String object.