Skip to content

Commit

Permalink
dsldevkit#22: SCA configuration
Browse files Browse the repository at this point in the history
 - Cleanup tabs <-> spaces
 - Address NPE possibility in CheckExtensionHelperManager

Issue: dsldevkit#22
  • Loading branch information
[email protected] authored and [email protected] committed Dec 21, 2017
1 parent 6103beb commit 418f1ca
Show file tree
Hide file tree
Showing 24 changed files with 346 additions and 345 deletions.
30 changes: 15 additions & 15 deletions com.avaloq.tools.ddk.check.core.test/.project
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
</natures>
<linkedResources>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.settings/edu.umd.cs.findbugs.plugin.eclipse.prefs</name>
<type>1</type>
Expand Down
30 changes: 15 additions & 15 deletions com.avaloq.tools.ddk.check.runtime.core.test/.project
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
</natures>
<linkedResources>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.settings/edu.umd.cs.findbugs.plugin.eclipse.prefs</name>
<type>1</type>
Expand Down
30 changes: 15 additions & 15 deletions com.avaloq.tools.ddk.check.test.runtime.tests/.project
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
</natures>
<linkedResources>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.settings/edu.umd.cs.findbugs.plugin.eclipse.prefs</name>
<type>1</type>
Expand Down
30 changes: 15 additions & 15 deletions com.avaloq.tools.ddk.check.test.runtime.ui/.project
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
</natures>
<linkedResources>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.settings/edu.umd.cs.findbugs.plugin.eclipse.prefs</name>
<type>1</type>
Expand Down
30 changes: 15 additions & 15 deletions com.avaloq.tools.ddk.check.test.runtime/.project
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
</natures>
<linkedResources>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.checkstyle</name>
<type>1</type>
Expand Down
30 changes: 15 additions & 15 deletions com.avaloq.tools.ddk.check.ui.test/.project
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
</natures>
<linkedResources>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.settings/edu.umd.cs.findbugs.plugin.eclipse.prefs</name>
<type>1</type>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;

import org.eclipse.core.runtime.CoreException;
Expand Down Expand Up @@ -392,7 +393,7 @@ public void sortAllExtensions(final IPluginModelBase pluginModel, final IProgres
for (int i = 0; i < orderedExtensions.size(); i++) {
IPluginExtension expected = orderedExtensions.get(i);
IPluginExtension actual = catalogExtensions.get(i);
if (actual.equals(expected)) {
if (!Objects.equals(actual, expected)) {
// IExtensions#swap() doesn't work; see https://bugs.eclipse.org/bugs/show_bug.cgi?id=506831
// pluginModel.getExtensions().swap(expected, actual);
for (int j = i; j < catalogExtensions.size(); j++) {
Expand Down
30 changes: 15 additions & 15 deletions com.avaloq.tools.ddk.checkcfg.core.test/.project
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
</natures>
<linkedResources>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.settings/edu.umd.cs.findbugs.plugin.eclipse.prefs</name>
<type>1</type>
Expand Down
30 changes: 15 additions & 15 deletions com.avaloq.tools.ddk.checkcfg.ui.test/.project
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
</natures>
<linkedResources>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.settings/edu.umd.cs.findbugs.plugin.eclipse.prefs</name>
<type>1</type>
Expand Down
30 changes: 15 additions & 15 deletions com.avaloq.tools.ddk.test.core/.project
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
</natures>
<linkedResources>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.settings/edu.umd.cs.findbugs.plugin.eclipse.prefs</name>
<type>1</type>
Expand Down
30 changes: 15 additions & 15 deletions com.avaloq.tools.ddk.test.ui.test/.project
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
</natures>
<linkedResources>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.checkstyle</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.checkstyle</locationURI>
</link>
<link>
<name>.fbprefs</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.fbprefs-test</locationURI>
</link>
<link>
<name>.pmd</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/ddk-configuration/.pmd</locationURI>
</link>
<link>
<name>.checkstyle</name>
<type>1</type>
Expand Down
Loading

0 comments on commit 418f1ca

Please sign in to comment.