rspec/rules/S2094/java/rule.adoc

18 lines
328 B
Plaintext
Raw Normal View History

2020-06-30 12:48:07 +02:00
include::../description.adoc[]
include::../noncompliant.adoc[]
include::../compliant.adoc[]
== Exceptions
Empty classes can be used as marker types (for Spring for instance), therefore empty classes that are annotated will be ignored.
2020-06-30 12:48:07 +02:00
----
@Configuration
@EnableWebMvc
public final class ApplicationConfiguration {
}
----