diff --git a/java/ql/test/stubs/jabsorb-1.3.2/org/jabsorb/serializer/ObjectMatch.java b/java/ql/test/stubs/jabsorb-1.3.2/org/jabsorb/serializer/ObjectMatch.java index d430b92ca0d2..5f24f66f9c19 100644 --- a/java/ql/test/stubs/jabsorb-1.3.2/org/jabsorb/serializer/ObjectMatch.java +++ b/java/ql/test/stubs/jabsorb-1.3.2/org/jabsorb/serializer/ObjectMatch.java @@ -42,7 +42,7 @@ public class ObjectMatch /** * Create a new ObjectMatch object with the given number of mismatches. * - * @param mismatch the number of mismatched fields that occured on a + * @param mismatch the number of mismatched fields that occurred on a * tryUnmarshall call. */ public ObjectMatch(int mismatch) @@ -50,9 +50,9 @@ public ObjectMatch(int mismatch) } /** - * Get the number of mismatched fields that occured on a tryUnmarshall call. + * Get the number of mismatched fields that occurred on a tryUnmarshall call. * - * @return the number of mismatched fields that occured on a tryUnmarshall + * @return the number of mismatched fields that occurred on a tryUnmarshall * call. */ public int getMismatch() diff --git a/javascript/ql/test/query-tests/Security/CWE-912/tst.js b/javascript/ql/test/query-tests/Security/CWE-912/tst.js index 00e89fd11e6f..e225ddaec6d2 100644 --- a/javascript/ql/test/query-tests/Security/CWE-912/tst.js +++ b/javascript/ql/test/query-tests/Security/CWE-912/tst.js @@ -27,11 +27,11 @@ try { }); response.on('error', () => { - fs.writeFile("/tmp/test", "error occured"); // OK - static data written to file + fs.writeFile("/tmp/test", "error occurred"); // OK - static data written to file }); }).on('error', () => { - let error = "error occured"; + let error = "error occurred"; let writeStream = fs.createWriteStream('/usr/good/errorlog.txt'); writeStream.write(error); // OK - static data written to file stream writeStream.end(); diff --git a/shared/typos/codeql/typos/TypoDatabase.qll b/shared/typos/codeql/typos/TypoDatabase.qll index a41f003a8c0c..99815b923a18 100644 --- a/shared/typos/codeql/typos/TypoDatabase.qll +++ b/shared/typos/codeql/typos/TypoDatabase.qll @@ -5557,7 +5557,7 @@ predicate typos(string wrong, string right) { or wrong = "occurances" and right = "occurrences" or - wrong = "occured" and right = "occurred" + wrong = "occurred" and right = "occurred" or wrong = "occurence" and right = "occurrence" or pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy