Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenchickenlove committed Aug 25, 2024
1 parent ab5ecff commit 0d8adb5
Showing 1 changed file with 59 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,64 +45,65 @@ class OverriddenBuilderMethodsReturnTypeTest {

@Test
void methodChaining() {
final Set<String> excludedClasses = ImmutableSet.of("JsonLogFormatterBuilder",
"TextLogFormatterBuilder",
"PathStreamMessageBuilder",
"InputStreamStreamMessageBuilder",
"ContextPathAnnotatedServiceConfigSetters",
"ContextPathDecoratingBindingBuilder",
"ContextPathServiceBindingBuilder",
"ContextPathServicesBuilder",
"DecoratingServiceBindingBuilder",
"ServerBuilder",
"ServiceBindingBuilder",
"AnnotatedServiceBindingBuilder",
"VirtualHostAnnotatedServiceBindingBuilder",
"VirtualHostBuilder",
"VirtualHostContextPathDecoratingBindingBuilder",
"VirtualHostContextPathServiceBindingBuilder",
"VirtualHostContextPathServicesBuilder",
"VirtualHostDecoratingServiceBindingBuilder",
"VirtualHostServiceBindingBuilder",
"NestedContextPathAnnotatedServiceConfigSetters",
"NestedContextPathDecoratingBindingBuilder",
"NestedContextPathServiceBindingBuilder",
"NestedContextPathServicesBuilder",
"NestedVirtualHostContextPathAnnotatedServiceConfigSetters",
"NestedVirtualHostContextPathDecoratingBindingBuilder",
"NestedVirtualHostContextPathServiceBindingBuilder",
"NestedVirtualHostContextPathServicesBuilder",
"ChainedCorsPolicyBuilder",
"CorsPolicyBuilder",
"ConsulEndpointGroupBuilde",
"AbstractDnsResolverBuilder",
"AbstractRuleBuilder",
"AbstractRuleWithContentBuilder",
"DnsResolverGroupBuilder",
"AbstractCircuitBreakerMappingBuilder",
"CircuitBreakerMappingBuilder",
"CircuitBreakerRuleBuilder",
"CircuitBreakerRuleWithContentBuilder",
"AbstractDynamicEndpointGroupBuilder",
"DynamicEndpointGroupBuilder",
"DynamicEndpointGroupSetters",
"DnsAddressEndpointGroupBuilder",
"DnsEndpointGroupBuilder",
"DnsServiceEndpointGroupBuilder",
"DnsTextEndpointGroupBuilder",
"AbstractHealthCheckedEndpointGroupBuilder",
"HealthCheckedEndpointGroupBuilder",
"RetryRuleBuilder",
"RetryRuleWithContentBuilder",
"AbstractHeadersSanitizerBuilder",
"JsonHeadersSanitizerBuilder",
"TextHeadersSanitizerBuilder",
"EurekaEndpointGroupBuilder",
"KubernetesEndpointGroupBuilder",
"Resilience4jCircuitBreakerMappingBuilder",
"ZooKeeperEndpointGroupBuilder",
"AbstractCuratorFrameworkBuilder",
"ZooKeeperUpdatingListenerBuilder");
final Set<String> excludedClasses = ImmutableSet.of(
"JsonLogFormatterBuilder",
"TextLogFormatterBuilder",
"PathStreamMessageBuilder",
"InputStreamStreamMessageBuilder",
"ContextPathAnnotatedServiceConfigSetters",
"ContextPathDecoratingBindingBuilder",
"ContextPathServiceBindingBuilder",
"ContextPathServicesBuilder",
"DecoratingServiceBindingBuilder",
"ServerBuilder",
"ServiceBindingBuilder",
"AnnotatedServiceBindingBuilder",
"VirtualHostAnnotatedServiceBindingBuilder",
"VirtualHostBuilder",
"VirtualHostContextPathDecoratingBindingBuilder",
"VirtualHostContextPathServiceBindingBuilder",
"VirtualHostContextPathServicesBuilder",
"VirtualHostDecoratingServiceBindingBuilder",
"VirtualHostServiceBindingBuilder",
"NestedContextPathAnnotatedServiceConfigSetters",
"NestedContextPathDecoratingBindingBuilder",
"NestedContextPathServiceBindingBuilder",
"NestedContextPathServicesBuilder",
"NestedVirtualHostContextPathAnnotatedServiceConfigSetters",
"NestedVirtualHostContextPathDecoratingBindingBuilder",
"NestedVirtualHostContextPathServiceBindingBuilder",
"NestedVirtualHostContextPathServicesBuilder",
"ChainedCorsPolicyBuilder",
"CorsPolicyBuilder",
"ConsulEndpointGroupBuilde",
"AbstractDnsResolverBuilder",
"AbstractRuleBuilder",
"AbstractRuleWithContentBuilder",
"DnsResolverGroupBuilder",
"AbstractCircuitBreakerMappingBuilder",
"CircuitBreakerMappingBuilder",
"CircuitBreakerRuleBuilder",
"CircuitBreakerRuleWithContentBuilder",
"AbstractDynamicEndpointGroupBuilder",
"DynamicEndpointGroupBuilder",
"DynamicEndpointGroupSetters",
"DnsAddressEndpointGroupBuilder",
"DnsEndpointGroupBuilder",
"DnsServiceEndpointGroupBuilder",
"DnsTextEndpointGroupBuilder",
"AbstractHealthCheckedEndpointGroupBuilder",
"HealthCheckedEndpointGroupBuilder",
"RetryRuleBuilder",
"RetryRuleWithContentBuilder",
"AbstractHeadersSanitizerBuilder",
"JsonHeadersSanitizerBuilder",
"TextHeadersSanitizerBuilder",
"EurekaEndpointGroupBuilder",
"KubernetesEndpointGroupBuilder",
"Resilience4jCircuitBreakerMappingBuilder",
"ZooKeeperEndpointGroupBuilder",
"AbstractCuratorFrameworkBuilder",
"ZooKeeperUpdatingListenerBuilder");
final String packageName = "com.linecorp.armeria";
findAllClasses(packageName).stream()
.map(ReflectionUtils::forName)
Expand Down

0 comments on commit 0d8adb5

Please sign in to comment.