Fixes dependency checker bug

This commit is contained in:
konsoletyper 2014-02-21 17:10:28 +04:00
parent 31b9525309
commit 90a077fc34
2 changed files with 2 additions and 5 deletions

View File

@ -54,9 +54,6 @@
<configuration>
<minifying>false</minifying>
<numThreads>1</numThreads>
<wildcards>
<param>**.ArraysTest</param>
</wildcards>
</configuration>
</execution>
</executions>

View File

@ -38,11 +38,11 @@ class DependencyNodeToNodeTransition implements DependencyConsumer {
}
if (type.startsWith("[")) {
type = "java.lang.Object";
source.getArrayItem().connect(destination.getArrayItem());
destination.getArrayItem().connect(source.getArrayItem());
}
if (!destination.hasType(type)) {
destination.propagate(type);
}
source.getArrayItem().connect(destination.getArrayItem());
destination.getArrayItem().connect(source.getArrayItem());
}
}