We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caa8c71 commit b2a8eb4Copy full SHA for b2a8eb4
1 file changed
java-checks/src/main/java/org/sonar/java/checks/FileHeaderCheck.java
@@ -31,7 +31,13 @@
31
@Rule(key = "S1451")
32
public class FileHeaderCheck extends IssuableSubscriptionVisitor {
33
34
- private static final String DEFAULT_HEADER_FORMAT = "";
+ private static final String DEFAULT_HEADER_FORMAT = """
35
+ /*
36
+ * <Your-Product-Name>
37
+ * Copyright (c) <Year-From>-<Year-To> <Your-Company-Name>
38
+ *
39
+ * Please configure this header in your SonarCloud/SonarQube quality profile.
40
+ */""";
41
private static final String MESSAGE = "Add or update the header of this file.";
42
43
@RuleProperty(
0 commit comments