Commit 0185e149 authored by Jakob Schöttl's avatar Jakob Schöttl

Fix warnings

parent 8d486772
...@@ -101,7 +101,7 @@ public class ActionLoadProject extends AbstractAction { ...@@ -101,7 +101,7 @@ public class ActionLoadProject extends AbstractAction {
int[] stats = project.getMigrationStats(); int[] stats = project.getMigrationStats();
if (stats[1] > 0 || stats[2] > 0) { // scenarios: [0] total, [1] legacy'ed, [2] unmigratable if (stats[1] > 0 || stats[2] > 0) { // scenarios: [0] total, [1] legacy'ed, [2] unmigratable
SwingWorker worker = new SwingWorker<Void, Void>() { SwingWorker<Void, Void> worker = new SwingWorker<Void, Void>() {
@Override @Override
public Void doInBackground() { public Void doInBackground() {
int total = stats[0]; int total = stats[0];
......
...@@ -24,6 +24,6 @@ public class DeleteInArrayIncident extends Incident{ ...@@ -24,6 +24,6 @@ public class DeleteInArrayIncident extends Incident{
public void resolve(@NotNull final Tree tree, @NotNull StringBuilder log) throws MigrationException { public void resolve(@NotNull final Tree tree, @NotNull StringBuilder log) throws MigrationException {
super.stillApplies(tree); super.stillApplies(tree);
tree.deleteNodeInArray(pathToArray, key); tree.deleteNodeInArray(pathToArray, key);
log.append("\t- delete node [" + key + "] in array " + tree.pathToString(pathToArray)+"\n"); log.append("\t- delete node [" + key + "] in array " + Tree.pathToString(pathToArray) + "\n");
} }
} }
\ No newline at end of file
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