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
Library
Commits
44e1c256
Commit
44e1c256
authored
Jul 13, 2017
by
Karsten Loesing
Browse files
Retain trailing newline in Torperf results.
Fixes
#22912
.
parent
8678345a
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
44e1c256
...
...
@@ -5,6 +5,9 @@
Apache Commons Compress 1.13, Apache Commons Lang 3.5, Google
Gson 2.4, JUnit 4.12, Logback 1.1.9, SLF4J 1.7.22, and XZ 1.6.
*
Minor changes
-
Retain trailing newline in Torperf results.
# Changes in version 2.0.0 - 2017-06-28
...
...
src/main/java/org/torproject/descriptor/impl/TorperfResultImpl.java
View file @
44e1c256
...
...
@@ -49,7 +49,7 @@ public class TorperfResultImpl extends DescriptorImpl
}
else
{
/* XXX21932 */
parsedDescriptors
.
add
(
new
TorperfResultImpl
(
(
typeAnnotation
+
line
).
getBytes
(
StandardCharsets
.
UTF_8
),
(
typeAnnotation
+
line
+
"\n"
).
getBytes
(
StandardCharsets
.
UTF_8
),
descriptorFile
));
typeAnnotation
=
""
;
}
...
...
Write
Preview
Supports
Markdown
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