Polish CompressionConnectorCustomizerTests

Closes gh-16699
pull/16730/head
Johnny Lim 6 years ago committed by Stephane Nicoll
parent c9752f165f
commit 1b9a4d5e45

@ -77,7 +77,6 @@ public class CompressionConnectorCustomizerTests {
minSize(protocol.getCompressionMinSize()); minSize(protocol.getCompressionMinSize());
mimeType(protocol.getCompressibleMimeTypes()); mimeType(protocol.getCompressibleMimeTypes());
excludedUserAgents(protocol.getNoCompressionUserAgents()); excludedUserAgents(protocol.getNoCompressionUserAgents());
excludedUserAgents(protocol.getNoCompressionUserAgents());
} }
private void compressionOn(String compression) { private void compressionOn(String compression) {
@ -89,7 +88,7 @@ public class CompressionConnectorCustomizerTests {
} }
private void mimeType(String[] mimeTypes) { private void mimeType(String[] mimeTypes) {
assertThat(mimeTypes).isEqualTo(mimeTypes); assertThat(mimeTypes).isEqualTo(this.mimeTypes);
} }
private void excludedUserAgents(String combinedUserAgents) { private void excludedUserAgents(String combinedUserAgents) {

Loading…
Cancel
Save