Browse Source

Fixing test: javac 1.5 doesn't seem able to infer properly types here (incomparable types: org.apache.tools.ant.types.Path and java.lang.Object)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376401 13f79535-47bb-0310-9956-ffa450edef68
master
Nicolas Lalevee 12 years ago
parent
commit
dba10d633f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/tests/antunit/core/ref-propertyhelper-test.xml

+ 1
- 1
src/tests/antunit/core/ref-propertyhelper-test.xml View File

@@ -49,7 +49,7 @@ public class Task {
}
private boolean set = false;
public void setPath(Path p) {
if (p != project.getReference("foo")) {
if (p != (Path) project.getReference("foo")) {
throw new BuildException("this is not my path");
}
set = true;


Loading…
Cancel
Save