Unverified Commit cb13319b authored by Lenard Nagy's avatar Lenard Nagy Committed by GitHub
Browse files

Merge pull request #623 from ekrisza/patch-3

If only one of them is null, that will lead to null pointer exception.
parents 9190c945 45e30c69
......@@ -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