private Entity removeEntity(final EntityMappings userMappings, final String className) { final Entity entity; entity = userMappings.getEntityMap().get(className); if (entity != null) { userMappings.getEntityMap().remove(entity.getKey()); } return entity; }
private Entity removeEntity(EntityMappings userMappings, String className) { Entity entity; entity = userMappings.getEntityMap().get(className); if (entity != null){ userMappings.getEntityMap().remove(entity.getKey()); } return entity; }
private Entity removeEntity(final EntityMappings userMappings, final String className) { final Entity entity; entity = userMappings.getEntityMap().get(className); if (entity != null) { userMappings.getEntityMap().remove(entity.getKey()); } return entity; }