Skip to content
Snippets Groups Projects
Verified Commit da40f724 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

STY: formatting

parent d6773d6c
No related branches found
No related tags found
3 merge requests!21Release v0.4.0,!7F fsm,!6Draft: F acm permissions2
...@@ -829,7 +829,7 @@ public abstract class EntityStateJob extends EntityJob { ...@@ -829,7 +829,7 @@ public abstract class EntityStateJob extends EntityJob {
private void putCache(String key, EntityInterface value) { private void putCache(String key, EntityInterface value) {
synchronized (cache) { synchronized (cache) {
if(value instanceof DeleteEntity) { if (value instanceof DeleteEntity) {
throw new RuntimeException("Delete entity in cache. This is an implementation error."); throw new RuntimeException("Delete entity in cache. This is an implementation error.");
} }
id_in_cache.add(value.getId()); id_in_cache.add(value.getId());
......
...@@ -68,8 +68,8 @@ public class InitEntityStateJobs extends EntityStateJob implements Observer { ...@@ -68,8 +68,8 @@ public class InitEntityStateJobs extends EntityStateJob implements Observer {
State newState = handleNewState(); State newState = handleNewState();
State oldState = handleOldState(newState); State oldState = handleOldState(newState);
if (newState != null || oldState != null) { if (newState != null || oldState != null) {
if(!(getTransaction() instanceof Delete)) { if (!(getTransaction() instanceof Delete)) {
appendJob(MakeStateProperty.class); appendJob(MakeStateProperty.class);
} }
appendJob(CheckStateTransition.class); appendJob(CheckStateTransition.class);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment