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> <configuration>
<minifying>false</minifying> <minifying>false</minifying>
<numThreads>1</numThreads> <numThreads>1</numThreads>
<wildcards>
<param>**.ArraysTest</param>
</wildcards>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>

View File

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