Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » ServiceRegistration and generics(Change proposition for Mars)
ServiceRegistration and generics [message #1446285] Thu, 16 October 2014 16:19 Go to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Is it possible to change the signature of TestingUtility.registerServices(..) from:
List<ServiceRegistration> = org.eclipse.scout.rt.testing.shared.TestingUtility.registerServices(Bundle, int, Object...)

to:
List<ServiceRegistration<?>> = org.eclipse.scout.rt.testing.shared.TestingUtility.registerServices(Bundle, int, Object...)


And the same for TestingUtility.unregisterServices(..). Old:
org.eclipse.scout.rt.testing.shared.TestingUtility.unregisterServices(List<ServiceRegistration>)

new:
org.eclipse.scout.rt.testing.shared.TestingUtility.unregisterServices(List<ServiceRegistration<?>>)


This will produce an error (or a warning) in the current application using this. I think that now, at the beginning of the 4.2.0-SNAPSHOT, a change like this is allowed.

What do you think? Should I open a change request?
Re: ServiceRegistration and generics [message #1446715 is a reply to message #1446285] Fri, 17 October 2014 07:42 Go to previous messageGo to next message
Judith Gull is currently offline Judith GullFriend
Messages: 75
Registered: February 2010
Member
ServiceRegistration is not generic in eclipse 3.6 and we still support that.
Re: ServiceRegistration and generics [message #1460383 is a reply to message #1446715] Mon, 03 November 2014 14:09 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Maybe with version 5.0 of Scout ?

The support for eclipse 3.6 runtime seems to be dropped:
https://wiki.eclipse.org/Scout/Release/Mars#Eclipse_Platform
Previous Topic:Is it possible hide a form?
Next Topic:advance scout course.
Goto Forum:
  


Current Time: Thu Apr 18 01:42:31 GMT 2024

Powered by FUDForum. Page generated in 0.01774 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top