Skip to content

Commit 3987267

Browse files
author
Dave Bartolomeo
committed
Rename sanity -> consistency
1 parent 0678393 commit 3987267

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/language/ql-training/slide-snippets/intro-ql-general.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Zoom in on the code...
4242

4343
The pseudocode in the slide illustrates this.
4444
The function is declared to take an array of length 12 (presumably three data points for each thruster).
45-
However, there’s no sanity checking, and a developer might call it with an array that’s too short, holding direction information for only one of the thrusters.
45+
However, there’s no bounds checking, and a developer might call it with an array that’s too short, holding direction information for only one of the thrusters.
4646
The function will then read past the end of the array, and unpredictable results occur.
4747

4848
Write a query...

javascript/extractor/src/com/semmle/js/extractor/ExtractionMetrics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public void startPhase(ExtractionPhase event) {
146146

147147
public void stopPhase(
148148
ExtractionPhase
149-
event /* technically not needed, but useful for documentation and sanity checking */) {
149+
event /* technically not needed, but useful for documentation and consistency checking */) {
150150
if (stack.isEmpty()) {
151151
failTimings(
152152
String.format(

0 commit comments

Comments
 (0)