Skip to content

Commit 68297ba

Browse files
joke1196claude
authored andcommitted
SONARPY-3772 Implement S8439: Django view functions should include all URL parameters (#887)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> GitOrigin-RevId: 11f315cd45432aad488a71d85ecb98401f661a2a
1 parent b68ef89 commit 68297ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python-checks/src/main/java/org/sonar/python/checks/utils/FunctionParameterUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
public final class FunctionParameterUtils {
3131

3232
private FunctionParameterUtils() {
33-
// Utility class
3433
}
3534

3635
/**
@@ -60,7 +59,7 @@ public static Optional<FunctionType> getFunctionType(FunctionDef functionDef) {
6059
return Optional.empty();
6160
}
6261

63-
private static FunctionParameterInfo buildParameterInfo(FunctionType functionType) {
62+
public static FunctionParameterInfo buildParameterInfo(FunctionType functionType) {
6463
Set<String> allParams = new HashSet<>();
6564
Set<String> positionalOnlyParams = new HashSet<>();
6665
boolean hasVariadicKeyword = functionType.parameters().stream()

0 commit comments

Comments
 (0)