eclipse-qvto / org.eclipse.qvto

Eclipse Public License 2.0
0 stars 0 forks source link

Fix numerous compiler warnings #622

Open eclipse-qvt-oml-bot opened 1 day ago

eclipse-qvt-oml-bot commented 1 day ago

| --- | --- | | Bugzilla Link | 387637 | | Status | NEW | | Importance | P3 normal | | Reported | Aug 20, 2012 14:58 EDT | | Modified | Jul 18, 2020 05:25 EDT | | See also | 472482 | | Reporter | Ed Willink |

Description

The QVTo sources comprise about 600 warnings; fix them

eclipse-qvt-oml-bot commented 1 day ago

By Ed Willink on Aug 20, 2012 15:02

There are some very easy fixes (unnecessary imports), but much more that is hard to address.

Providing missing generics is not as easy as might be thought, since prtopagating the mandaiory EcoreEnvironment instead of Environment gives an API change. Could just suppress the warnings in the compiler preferences.

More worrying are the many API violations; exported no API types etc. Similarly discouraged accesses and deprecated usages.

Overall, this is not a very attractive improvement, but it should be done, perhaps in conjunction with a major version chnage to allow API correction.

eclipse-qvt-oml-bot commented 1 day ago

By Ed Willink on Jul 18, 2020 05:25

Bug 472482 demonstrates that some important/helpful warnings are being swamped by the legacy issues.