File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
delphi-checks/src/main/java/au/com/integradev/delphi/checks Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
- ** API:** ` InterfaceTypeNode::getGuidExpression ` method.
14
14
- ** API:** ` AttributeNode::getExpression ` method.
15
15
16
+ ### Changed
17
+
18
+ - Issue locations no longer span the entire routine declaration in ` RoutineName ` .
19
+
16
20
### Deprecated
17
21
18
22
- ** API:** ` InterfaceGuidNode ` node type.
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public class RoutineNameCheck extends DelphiCheck {
38
38
@ Override
39
39
public DelphiCheckContext visit (RoutineDeclarationNode routine , DelphiCheckContext context ) {
40
40
if (isViolation (routine ) && !isExcluded (routine )) {
41
- reportIssue (context , routine , MESSAGE );
41
+ reportIssue (context , routine . getRoutineNameNode () , MESSAGE );
42
42
}
43
43
return super .visit (routine , context );
44
44
}
You can’t perform that action at this time.
0 commit comments