Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Raphael
histream
Commits
7e111ab7
Commit
7e111ab7
authored
Aug 24, 2015
by
R.W.Majeed
Browse files
skip empty meta values
parent
e623775c
Changes
1
Show whitespace changes
Inline
Side-by-side
histream-core/src/main/java/de/sekmi/histream/impl/Meta.java
View file @
7e111ab7
...
...
@@ -58,7 +58,9 @@ public class Meta {
ObservationSupplier
.
META_SOURCE_TIMESTAMP
};
for
(
String
key
:
keys
){
target
.
setMeta
(
key
,
source
.
getMeta
(
key
));
String
value
=
source
.
getMeta
(
key
);
if
(
value
==
null
)
continue
;
// skip null values
target
.
setMeta
(
key
,
value
);
}
}
}
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