Added checkstyle for tests
This commit is contained in:
@@ -35,10 +35,6 @@ public final class HeaderUtils {
|
||||
|
||||
private static HttpHeaders REQUEST_ONLY = new HttpHeaders();
|
||||
|
||||
private HeaderUtils() {
|
||||
throw new IllegalStateException("Can't instantiate a utility class");
|
||||
}
|
||||
|
||||
static {
|
||||
IGNORED.add(MessageHeaders.ID, "");
|
||||
IGNORED.add(HttpHeaders.CONTENT_LENGTH, "0");
|
||||
@@ -49,6 +45,10 @@ public final class HeaderUtils {
|
||||
REQUEST_ONLY.add(HttpHeaders.HOST, "");
|
||||
}
|
||||
|
||||
private HeaderUtils() {
|
||||
throw new IllegalStateException("Can't instantiate a utility class");
|
||||
}
|
||||
|
||||
public static HttpHeaders fromMessage(MessageHeaders headers) {
|
||||
HttpHeaders result = new HttpHeaders();
|
||||
for (String name : headers.keySet()) {
|
||||
|
||||
Reference in New Issue
Block a user