Skip to content

Commit cf47632

Browse files
authored
Update access modifiers (#382)
To being able to manipulate those properties/methods in classes that extend
1 parent d13c7e1 commit cf47632

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/codemodder-plugin-sonar/src/main/java/io/codemodder/providers/sonar/RuleFinding.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.util.List;
66

77
/** A view of the Sonar findings results file for a given rule. */
8-
interface RuleFinding<T extends SonarFinding> {
8+
public interface RuleFinding<T extends SonarFinding> {
99

1010
/** A list of findings associated with the given path. */
1111
List<T> getResultsByPath(Path path);

plugins/codemodder-plugin-sonar/src/main/java/io/codemodder/providers/sonar/SonarPluginJavaParserChanger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
public abstract class SonarPluginJavaParserChanger<T extends Node, S extends SonarFinding>
1717
extends JavaParserChanger implements FixOnlyCodeChanger {
1818

19-
private final RuleFinding<S> ruleFinding;
19+
protected final RuleFinding<S> ruleFinding;
2020
private final Class<? extends Node> nodeType;
2121
private final RegionNodeMatcher regionNodeMatcher;
2222

0 commit comments

Comments
 (0)