@Override public ActorInstance updateActor(final long actorId, final ActorUpdater descriptor) throws ActorNotFoundException, UpdateException { if (descriptor == null || descriptor.getFields().isEmpty()) { throw new UpdateException("The update descriptor does not contain field updates"); final Map<ActorField, Serializable> fields = descriptor.getFields(); for (final Entry<ActorField, Serializable> field : fields.entrySet()) { switch (field.getKey()) {
@Override public ActorInstance updateActor(final long actorId, final ActorUpdater descriptor) throws ActorNotFoundException, UpdateException { if (descriptor == null || descriptor.getFields().isEmpty()) { throw new UpdateException("The update descriptor does not contain field updates"); final Map<ActorField, Serializable> fields = descriptor.getFields(); for (final Entry<ActorField, Serializable> field : fields.entrySet()) { switch (field.getKey()) {