Page MenuHomeGitPull.it

Fix compilation warnings
Open, WishlistPublic

Description

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /var/drydock/workingcopy-34/repo/libre-busto/src/it/reyboz/bustorino/middleware/AsyncDataDownload.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /var/drydock/workingcopy-34/repo/libre-busto/src/it/reyboz/bustorino/middleware/AsyncDataDownload.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

From https://gitpull.it/harbormaster/build/89/

Related Objects

Event Timeline

valerio.bozzolan triaged this task as Wishlist priority.

I gave a look at the source of the problem. I discoverd that the error is on line 204 of AsyncDataDownload.java file. It isn't checked if Object "o" (parameter of onPostExecute function) is a List of Stop.

Yes, it isn't checked, and it has never been a problem while running the app.

We could add the check, or find a way not to have this casting in the first place.

Ciao @andrea.ugo non preoccuparti. Fra l'altro non so neanche se ci sono ancora