Skip to content

Commit 6d649c1

Browse files
authored
Fix: Correct @Suppress annotation placement guidance in DOMA4220 (#1369)
2 parents a1d4ed6 + 3a1d845 commit 6d649c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doma-core/src/main/java/org/seasar/doma/message/Message.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ public enum Message implements MessageResource {
697697
DOMA4220(
698698
"The SQL template \"{0}\" that is not mapped to any methods was found. "
699699
+ "Check the method names or the sqlFile elements of annotations. "
700-
+ "To suppress this warning, annotate the DAO method with @Suppress(messages = '{ Message.DOMA4220 }')."),
700+
+ "To suppress this warning, annotate the DAO interface with @Suppress(messages = '{ Message.DOMA4220 }')."),
701701
DOMA4221("A non-private constructor is required for the immutable entity class."),
702702
DOMA4222(
703703
"When the immutable entity class is a parameter type for the method annotated with @Insert, @Update, or @Delete, "

0 commit comments

Comments
 (0)