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
1313- ** API:** ` InterfaceTypeNode::getGuidExpression ` method.
1414- ** API:** ` AttributeNode::getExpression ` method.
1515
16+ ### Changed
17+
18+ - Issue locations no longer span the entire routine declaration in ` RoutineName ` .
19+
1620### Deprecated
1721
1822- ** API:** ` InterfaceGuidNode ` node type.
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public class RoutineNameCheck extends DelphiCheck {
3838 @ Override
3939 public DelphiCheckContext visit (RoutineDeclarationNode routine , DelphiCheckContext context ) {
4040 if (isViolation (routine ) && !isExcluded (routine )) {
41- reportIssue (context , routine , MESSAGE );
41+ reportIssue (context , routine . getRoutineNameNode () , MESSAGE );
4242 }
4343 return super .visit (routine , context );
4444 }
You can’t perform that action at this time.
0 commit comments