Unverified Commit 45e30c69 authored by Kristof Szabados's avatar Kristof Szabados Committed by GitHub
Browse files

If only one of them is null, that will lead to null pointer exception.

parent 8bc062bc
......@@ -175,7 +175,7 @@ public final class LinkedLaunchConfigurationChangeListener implements ILaunchCon
* @throws CoreException
private boolean equalsProject(final ILaunchConfiguration config1, final ILaunchConfiguration config2) throws CoreException {
if (config1 == null && config2 == null) {
if (config1 == null || config2 == null) {
return false;
final IResource[] resources1 = config1.getMappedResources();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment