Skip to content

Commit d50e09b

Browse files
committed
Cleanup from review feedback
1 parent f55ef0e commit d50e09b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

java/ql/lib/semmle/code/java/frameworks/apache/Lang.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ private class ApacheStrBuilderFluentMethod extends FluentMethod {
3939
}
4040

4141
/**
42-
* The class ``org.apache.commons.lang.SystemUtils` or `org.apache.commons.lang3.SystemUtils`.
42+
* The class `org.apache.commons.lang.SystemUtils` or `org.apache.commons.lang3.SystemUtils`.
4343
*/
44-
class ApacheSystemUtilis extends Class {
45-
ApacheSystemUtilis() {
44+
class ApacheSystemUtils extends Class {
45+
ApacheSystemUtils() {
4646
this.hasQualifiedName(["org.apache.commons.lang", "org.apache.commons.lang3"], "SystemUtils")
4747
}
4848
}

java/ql/lib/semmle/code/java/os/OSCheck.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ private import semmle.code.java.dataflow.DataFlow
99
private import semmle.code.java.StringCheck
1010

1111
/**
12-
* A complimentatry guard that checks if the current platform is Windows.
12+
* A guard that checks if the current platform is Windows.
1313
*/
1414
abstract class IsWindowsGuard extends Guard { }
1515

1616
/**
17-
* A complimentatry guard that checks if the current platform is unix or unix-like.
17+
* A guard that checks if the current platform is unix or unix-like.
1818
*/
1919
abstract class IsUnixGuard extends Guard { }
2020

@@ -53,7 +53,7 @@ private class IsUnixFromSystemProp extends IsUnixGuard instanceof MethodAccess {
5353

5454
private predicate isOsFromApacheCommons(FieldAccess fa, string fieldName) {
5555
exists(Field f | f = fa.getField() |
56-
f.getDeclaringType() instanceof ApacheSystemUtilis and
56+
f.getDeclaringType() instanceof ApacheSystemUtils and
5757
f.hasName(fieldName)
5858
)
5959
}

0 commit comments

Comments
 (0)