Skip to content

Commit f8aca54

Browse files
author
Killian Perlin
committed
Refactoring: change some methods to private
1 parent 6ffa83f commit f8aca54

File tree

1 file changed

+2
-2
lines changed
  • lkql_jit/options/src/main/java/com/adacore/lkql_jit/options/Refactorings

1 file changed

+2
-2
lines changed

lkql_jit/options/src/main/java/com/adacore/lkql_jit/options/Refactorings/Refactoring.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ enum ActionKind {
3434
*
3535
* <p>To remove a token, simply use a REPLACE action with an empty text.
3636
*/
37-
record Action(ActionKind kind, String text) {}
37+
private record Action(ActionKind kind, String text) {}
3838

3939
/**
4040
* List of actions accumulated in this state object.
@@ -46,7 +46,7 @@ public State(Liblkqllang.AnalysisUnit unit) {
4646
}
4747

4848
/** Add an action to the list of actions to apply */
49-
public void addAction(Liblkqllang.Token token, Action action) {
49+
private void addAction(Liblkqllang.Token token, Action action) {
5050
List<Action> actionList;
5151
var tokenId = getTokenId(token);
5252
if (actions.containsKey(tokenId)) {

0 commit comments

Comments
 (0)