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
d9eee320
Commit
d9eee320
authored
Aug 20, 2018
by
Karsten Loesing
Browse files
Avoid redundant new String() call.
parent
6abd4270
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/org/torproject/onionoo/util/FormattingUtilsTest.java
View file @
d9eee320
...
...
@@ -38,6 +38,6 @@ public class FormattingUtilsTest {
@Test
public
void
testReplaceUtf
()
{
assertEquals
(
out
,
new
String
(
FormattingUtils
.
replaceValidUtf
(
in
))
)
;
assertEquals
(
out
,
FormattingUtils
.
replaceValidUtf
(
in
));
}
}
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