Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
Metrics
Onionoo
Commits
6c94482a
Commit
6c94482a
authored
Aug 14, 2018
by
Iain R. Learmonth
Browse files
Remove pointless assignment in NodeStatus
Fixes:
#27124
parent
0c5d3744
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/torproject/onionoo/docs/NodeStatus.java
View file @
6c94482a
...
...
@@ -565,8 +565,7 @@ public class NodeStatus extends Document {
if
(!
parts
[
14
].
equals
(
"null"
))
{
nodeStatus
.
setPortList
(
parts
[
14
]);
}
long
firstSeenMillis
=
lastSeenMillis
;
firstSeenMillis
=
DateTimeHelper
.
parse
(
parts
[
15
]
+
" "
+
parts
[
16
]);
long
firstSeenMillis
=
DateTimeHelper
.
parse
(
parts
[
15
]
+
" "
+
parts
[
16
]);
if
(
firstSeenMillis
<
0L
)
{
log
.
error
(
"Parse exception while parsing node status "
+
"line '"
+
documentString
+
"'. Skipping."
);
...
...
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