Improve ql/doc style

This commit is contained in:
Chris Smowton
2024-08-19 16:25:06 +01:00
parent 27522a2781
commit 80e03c3c51

View File

@@ -2,16 +2,16 @@ import java
import semmle.code.java.frameworks.spring.Spring
/**
* Mark the XML configuration profile as never enabled. This should allow us to deduce that the
* A marker class that marks the XML configuration profile as never enabled. This should allow us to deduce that the
* com.semmle.g.ProfileComponent is dead, because com.semmle.g is only a base package in the
* profile-config.xml file, which is only enabled if xmlConfigurationProfile is enabled.
*/
class XMLConfigurationProfile extends NeverEnabledSpringProfile {
XMLConfigurationProfile() { this = "xmlConfigurationProfile" }
class XmlConfigurationProfile extends NeverEnabledSpringProfile {
XmlConfigurationProfile() { this = "xmlConfigurationProfile" }
}
/**
* Mark the annotation profile as always enabled. This should allow us to deduce that the
* A marker class that marks the annotation profile as always enabled. This should allow us to deduce that the
* com.semmle.e.DeadProfileComponent is dead, because the profile is "!annotationProfile", and that
* com.semmle.e.LiveProfileComponent is live, because the profile is "annotationProfile".
*/