Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GGTS Java Problem #1

Closed
meeximum opened this issue Jan 23, 2015 · 1 comment
Closed

GGTS Java Problem #1

meeximum opened this issue Jan 23, 2015 · 1 comment
Assignees

Comments

@meeximum
Copy link
Contributor

When working with SpringTool GGTS Eclipse IDE the project is marked as erroneous.
The log says

The inherited method AbstractContainer.addListener(Container.PropertySetChangeListener) cannot hide the public abstract method in Container.PropertySetChangeNotifier DomainItemContainer.groovy /VaadinDemo/.link_to_grails_plugins/vaadin-core-1.0-SNAPSHOT/src/groovy/com/vaadin/grails/data/util line 14 Java Problem

The inherited method AbstractContainer.removeListener(Container.PropertySetChangeListener) cannot hide the public abstract method in Container.PropertySetChangeNotifier DomainItemContainer.groovy /VaadinDemo/.link_to_grails_plugins/vaadin-core-1.0-SNAPSHOT/src/groovy/com/vaadin/grails/data/util line 14 Java Problem

The inherited method AbstractContainer.removePropertySetChangeListener(Container.PropertySetChangeListener) cannot hide the public abstract method in Container.PropertySetChangeNotifier DomainItemContainer.groovy /VaadinDemo/.link_to_grails_plugins/vaadin-core-1.0-SNAPSHOT/src/groovy/com/vaadin/grails/data/util line 14 Java Problem

The inherited method AbstractInMemoryContainer<Serializable,DomainItemProperty<T,?>,DomainItem>.getContainerFilters() cannot hide the public abstract method in Container.Filterable DomainItemContainer.groovy /VaadinDemo/.link_to_grails_plugins/vaadin-core-1.0-SNAPSHOT/src/groovy/com/vaadin/grails/data/util line 14 Java Problem

@meeximum
Copy link
Contributor Author

The problem are the Interfaces Container.Filterable, Container.PropertySetChangeNotifier
There are deprecated methods e.g. addListener which are not unique (they exist in multiple interfaces which are implemented) so the compiler doesn't know which do use :-(

meeximum added a commit that referenced this issue Jan 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants