Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
454ee95c
Commit
454ee95c
authored
Oct 17, 2018
by
Julian Zobel
Browse files
NPE catch/fix at DAO Output
parent
67d8cbd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/analyzer/metric/output/MetricOutputDAO.java
View file @
454ee95c
...
...
@@ -247,9 +247,11 @@ public class MetricOutputDAO extends AbstractOutput {
if
(
Double
.
isNaN
(
vd
))
{
continue
;
}
// Add value
stats
.
addValue
(
vd
);
globalStats
.
addValue
(
vd
);
// Add valuer
if
(
stats
!=
null
)
stats
.
addValue
(
vd
);
if
(
globalStats
!=
null
)
globalStats
.
addValue
(
vd
);
}
}
}
...
...
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