Skip to content

Commit

Permalink
refactor and introduce HUEditorViewBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Apr 27, 2017
1 parent bef5dc7 commit 722d785
Show file tree
Hide file tree
Showing 5 changed files with 377 additions and 197 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@

class HUEditorRowAttributesProvider implements IDocumentViewAttributesProvider
{
public static final HUEditorRowAttributesProvider newInstance()
{
return new HUEditorRowAttributesProvider();
}

private final ExtendedMemorizingSupplier<IAttributeStorageFactory> _attributeStorageFactory = ExtendedMemorizingSupplier.of(() -> createAttributeStorageFactory());
private final ConcurrentHashMap<DocumentViewAttributesKey, HUEditorRowAttributes> documentViewAttributesByKey = new ConcurrentHashMap<>();

Expand All @@ -57,7 +62,7 @@ private static final class DocumentViewAttributesKey
private DocumentId huId;
}

public HUEditorRowAttributesProvider()
private HUEditorRowAttributesProvider()
{
super();
}
Expand Down
Loading

0 comments on commit 722d785

Please sign in to comment.