Skip to content

Commit 9d6242d

Browse files
petertrrsonartech
authored andcommitted
SONARIAC-2536 GithubActionsEmbeddedBashParser should skip shell that are known to be not Bash (#734)
GitOrigin-RevId: c72e43614ca1b497b2b8805be762a1395faa9e4c
1 parent d2af778 commit 9d6242d

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

iac-common/src/main/java/org/sonar/iac/common/yaml/tree/YamlTreeMetadata.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@
3333
public record YamlTreeMetadata(String tag, TextRange textRange, int startPointer, int endPointer, List<Comment> comments) implements HasTextRange {
3434

3535
/**
36-
*
37-
* @param tag
38-
* @param node
39-
* @return
36+
* @deprecated use {@link Builder} instead
4037
*/
4138
@Deprecated
4239
public static YamlTreeMetadata fromNode(String tag, Node node) {
@@ -46,13 +43,19 @@ public static YamlTreeMetadata fromNode(String tag, Node node) {
4643
.build();
4744
}
4845

46+
/**
47+
* @deprecated use {@link Builder} instead
48+
*/
4949
@Deprecated
5050
public static YamlTreeMetadata fromNode(Node node) {
5151
return builder()
5252
.fromNode(node)
5353
.build();
5454
}
5555

56+
/**
57+
* @deprecated use {@link Builder} instead
58+
*/
5659
@Deprecated
5760
public static YamlTreeMetadata fromNodes(String tag, Node firstNode, Node secondNode) {
5861
return builder()

0 commit comments

Comments
 (0)