-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Problem
-------
* When using the content assist (pressing Ctrl-Space in Windows) with the
`Thumbnails` builder interface, the method argument names appear as `arg0`, ...
, `argn` rather than the actual argument name.
* The issue is with a bug in Eclipse which cannot provide content assist for
inner classes correctly.
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=151500
* The issue is to be fixed in Eclipse 3.7, according to the above ticket.
Solution
--------
* Move the `Thumbnails.Builder` inner class to a top-level class.
* Although the bug is to be fixed in the next release of Eclipse, one cannot reasonably expect that all users will transition to the new version.
* Solving this problem is in the interest of Thumbnailator users, as it decreases the user-friendliness of the library.
Complications
-------------
* It has the potential to break non-standard usage of the API, such as code
which is assigning the `Thumbnalis.Builder` object to a variable:
// The following code will break:
Thumbnails.Builder builder = Thumbnails.of(...);
Original issue reported on code.google.com by coobird...@gmail.com
on 21 Mar 2011 at 10:08