Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Use of MapMaker in DirtyStateManager
Use of MapMaker in DirtyStateManager [message #1783420] Tue, 13 March 2018 00:31
Neeraj Bhusare is currently offline Neeraj BhusareFriend
Messages: 134
Registered: July 2009
Location: Canada
Senior Member

The class "org.eclipse.xtext.ui.editor.DirtyStateManager" makes use of Guava API "new MapMaker().makeMap()" in its constructor. From the face of it, the implementation of DirtyStateManager hardly takes advantage of any of its features (

Just wondering why a MapMaker was used here? Wouldn't it be sufficient to use "new ConcurrentHashMap<URI, IDirtyResource()>"?

Please comment. Tx.

Twitter : @NeerajBhusare
Blog :
Best regards, Neeraj
Previous Topic:Working with multiple installed versions of your language plugin
Next Topic:How to resolve Xtext dependency to in a multi platform build with maven
Goto Forum:

Current Time: Tue Nov 13 20:47:31 GMT 2018

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

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

Back to the top