Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
090ff690
Commit
090ff690
authored
Apr 07, 2022
by
Piotr Gawron
Browse files
make sure that source is always defined
parent
ed638c96
Pipeline
#54724
passed with stage
in 16 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
annotation/src/main/java/lcsb/mapviewer/annotation/services/annotators/ElementAnnotator.java
View file @
090ff690
...
...
@@ -426,7 +426,11 @@ public abstract class ElementAnnotator extends CachableInterface implements IEle
public
LogMarker
getLogMarker
(
final
ProjectLogEntryType
type
)
{
LogMarker
result
=
new
LogMarker
(
type
,
originalBioEntity
);
result
.
getEntry
().
setSource
(
ElementAnnotator
.
this
.
getElementAnnotatorInterface
().
getSimpleName
());
Class
<?>
clazz
=
ElementAnnotator
.
this
.
getElementAnnotatorInterface
();
if
(
clazz
==
null
)
{
clazz
=
this
.
getClass
();
}
result
.
getEntry
().
setSource
(
clazz
.
getSimpleName
());
return
result
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment