Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Switch to StandardCharsets
[controller.git]
/
opendaylight
/
config
/
config-persister-impl
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
config
/
persist
/
impl
/
CapabilityStrippingConfigSnapshotHolderTest.java
diff --git
a/opendaylight/config/config-persister-impl/src/test/java/org/opendaylight/controller/config/persist/impl/CapabilityStrippingConfigSnapshotHolderTest.java
b/opendaylight/config/config-persister-impl/src/test/java/org/opendaylight/controller/config/persist/impl/CapabilityStrippingConfigSnapshotHolderTest.java
index ad625bd463d55cbd13d190da30a55a218fa4c210..970805e1ef6cc030a27bbcea30b78ab502ed9e93 100644
(file)
--- a/
opendaylight/config/config-persister-impl/src/test/java/org/opendaylight/controller/config/persist/impl/CapabilityStrippingConfigSnapshotHolderTest.java
+++ b/
opendaylight/config/config-persister-impl/src/test/java/org/opendaylight/controller/config/persist/impl/CapabilityStrippingConfigSnapshotHolderTest.java
@@
-9,10
+9,10
@@
package org.opendaylight.controller.config.persist.impl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertEquals;
-import com.google.common.base.Charsets;
import com.google.common.collect.Sets;
import com.google.common.io.Resources;
import java.io.IOException;
import com.google.common.collect.Sets;
import com.google.common.io.Resources;
import java.io.IOException;
+import java.nio.charset.StandardCharsets;
import java.util.HashSet;
import java.util.Set;
import org.junit.Test;
import java.util.HashSet;
import java.util.Set;
import org.junit.Test;
@@
-37,11
+37,11
@@
public class CapabilityStrippingConfigSnapshotHolderTest {
}
private Set<String> readLines(String fileName) throws IOException {
}
private Set<String> readLines(String fileName) throws IOException {
- return new HashSet<>(Resources.readLines(getClass().getResource(fileName), Charsets.UTF_8));
+ return new HashSet<>(Resources.readLines(getClass().getResource(fileName),
Standard
Charsets.UTF_8));
}
private String readToString(String fileName) throws IOException {
}
private String readToString(String fileName) throws IOException {
- return Resources.toString(getClass().getResource(fileName), Charsets.UTF_8);
+ return Resources.toString(getClass().getResource(fileName),
Standard
Charsets.UTF_8);
}
}
}
}