Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-server
Commits
da40f724
Verified
Commit
da40f724
authored
4 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
STY: formatting
parent
d6773d6c
No related branches found
No related tags found
3 merge requests
!21
Release v0.4.0
,
!7
F fsm
,
!6
Draft: F acm permissions2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/org/caosdb/server/jobs/core/EntityStateJob.java
+1
-1
1 addition, 1 deletion
...main/java/org/caosdb/server/jobs/core/EntityStateJob.java
src/main/java/org/caosdb/server/jobs/core/InitEntityStateJobs.java
+2
-2
2 additions, 2 deletions
...java/org/caosdb/server/jobs/core/InitEntityStateJobs.java
with
3 additions
and
3 deletions
src/main/java/org/caosdb/server/jobs/core/EntityStateJob.java
+
1
−
1
View file @
da40f724
...
@@ -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
());
...
...
This diff is collapsed.
Click to expand it.
src/main/java/org/caosdb/server/jobs/core/InitEntityStateJobs.java
+
2
−
2
View file @
da40f724
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment