Skip to content

Content assist in Eclipse does not show the correct argument names #4

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions