Skip to content

Simplify access to the EntityStore #7

@kerbymart

Description

@kerbymart

Accessing the EntityStore should be made simpler by eliminating the redundant getInstance method call:

EntityStore entityStore 
    = isClientMode ? DataFactoryClient.getInstance().getEntityStore() 
          : DataFactory.getInstance().getEntityStore();

It should be straightforward and easy to understand, like something that requires little effort to comprehend:

EntityStore entityStore 
    = isClientMode ? DataFactoryClient.getEntityStore() 
          : DataFactory.getEntityStore();

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions