Opened 6 years ago
Closed 6 years ago
#18738 closed defect (invalid)
Compile error "class DownloadOsmChangeTask.DownloadTask cannot be applied to given types"
| Reported by: | ranjid | Owned by: | ranjid |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | Cc: |
Description
Dear Developers,
I've just tried to compile build 15887, but it fails:
compile:
[javac] Compiling 1718 source files to ./josm/build
[javac] warning: [options] bootstrap class path not set in conjunction with -source 8
[javac] ./josm/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmChangeCompressedTask.java:41: error: constructor DownloadTask in class DownloadOsmChangeTask.DownloadTask cannot be applied to given types;
[javac] downloadTask = new DownloadTask(settings, new OsmServerLocationReader(url), progressMonitor) {
[javac]
[javac] required: DownloadParams,OsmServerReader,ProgressMonitor,boolean,Compression
[javac] found: DownloadParams,OsmServerLocationReader,ProgressMonitor
[javac] reason: actual and formal argument lists differ in length
[javac] 1 error
[javac] 1 warning
BUILD FAILED
Attachments (0)
Change History (2)
comment:1 by , 6 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
comment:2 by , 6 years ago
| Resolution: | → invalid |
|---|---|
| Status: | needinfo → closed |
Please cleanup your environment.



DownloadOsmChangeCompressedTask has been deleted in r15784. Why do you still have this file?