Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
ab6bee06
Commit
ab6bee06
authored
Feb 24, 2020
by
Piotr Gawron
Browse files
don't fetch glyph content if glyph does not exist
parent
33bad0b4
Pipeline
#21416
failed with stage
in 7 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
model/src/main/java/lcsb/mapviewer/model/map/layout/graphics/Glyph.java
View file @
ab6bee06
...
...
@@ -69,8 +69,10 @@ public class Glyph implements Serializable {
public
Glyph
(
Glyph
original
)
{
// we should reference to the same file
setFile
(
original
.
getFile
());
//make sure that the content is available
original
.
getFile
().
getFileContent
();
if
(
original
.
getFile
()
!=
null
)
{
// make sure that the content is available
original
.
getFile
().
getFileContent
();
}
}
public
UploadedFileEntry
getFile
()
{
...
...
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