Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 499669

Summary: Use AdapterKey.defaultRole() for the ContentBehavior bindings within MvcFxModule to prevent info and warning messages.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: 4.1.0 (Neon.1) RC1   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2016-08-15 11:05:07 EDT
Currently, the ContentBehavior bindings within MvcFxModule specify the implementation type using AdapterKey.get(TypeToken), which results in information and warning messages, because the type can already be inferred from the implementation. Instead, AdapterKey.defaultRole() can be used to prevent these messages.
Comment 1 Matthias Wienand CLA 2016-08-15 11:21:10 EDT
I replaced the AdapterKey.get(TypeToken) with AdapterKey.defaultRole() to prevent the information and warning messages. The code is published on the master branch and was ported back to R4_0_maintenance. Therefore, I resolve this ticket as fixed for 4.1.0 RC1 / 5.0.0 M2.