Skip to content

Commit dfdcdb9

Browse files
committed
Modify expected of sarif for two files
1 parent c020c39 commit dfdcdb9

2 files changed

Lines changed: 0 additions & 56 deletions

File tree

‎its/ruling/src/test/resources/expected/eclipse-jetty/java-S100.sarif‎

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -95,34 +95,6 @@
9595
}
9696
} ],
9797
"rank" : -1.0
98-
}, {
99-
"ruleId" : "java:S100",
100-
"ruleIndex" : -1,
101-
"kind" : "fail",
102-
"level" : "warning",
103-
"message" : {
104-
"text" : "Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'."
105-
},
106-
"locations" : [ {
107-
"id" : -1,
108-
"physicalLocation" : {
109-
"artifactLocation" : {
110-
"uri" : "eclipse-jetty:jetty-util/src/main/java/org/eclipse/jetty/util/security/UnixCrypt.java",
111-
"index" : -1
112-
},
113-
"region" : {
114-
"startLine" : 415,
115-
"startColumn" : 25,
116-
"endLine" : 415,
117-
"endColumn" : 35,
118-
"charOffset" : 13435,
119-
"charLength" : 10,
120-
"byteOffset" : 13435,
121-
"byteLength" : 10
122-
}
123-
}
124-
} ],
125-
"rank" : -1.0
12698
}, {
12799
"ruleId" : "java:S100",
128100
"ruleIndex" : -1,

‎its/ruling/src/test/resources/expected/guava/java-S103.sarif‎

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -39,34 +39,6 @@
3939
}
4040
} ],
4141
"rank" : -1.0
42-
}, {
43-
"ruleId" : "java:S103",
44-
"ruleIndex" : -1,
45-
"kind" : "fail",
46-
"level" : "warning",
47-
"message" : {
48-
"text" : "Split this 192 characters long line (which is greater than 120 authorized)."
49-
},
50-
"locations" : [ {
51-
"id" : -1,
52-
"physicalLocation" : {
53-
"artifactLocation" : {
54-
"uri" : "guava:src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java",
55-
"index" : -1
56-
},
57-
"region" : {
58-
"startLine" : 53,
59-
"startColumn" : 1,
60-
"endLine" : 53,
61-
"endColumn" : 193,
62-
"charOffset" : 50752,
63-
"charLength" : 192,
64-
"byteOffset" : 51851,
65-
"byteLength" : 192
66-
}
67-
}
68-
} ],
69-
"rank" : -1.0
7042
}, {
7143
"ruleId" : "java:S103",
7244
"ruleIndex" : -1,

0 commit comments

Comments
 (0)