Skip to content

Commit 54e8ea5

Browse files
Apply suggestions from code review
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
1 parent 4f4f531 commit 54e8ea5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

java/ql/lib/semmle/code/java/frameworks/Thrift.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ThriftIface extends Interface {
2525
this.getFile() instanceof ThriftGeneratedFile
2626
}
2727

28-
/** Returns an implementation of a method of this interface. */
28+
/** Gets an implementation of a method of this interface. */
2929
Method getAnImplementingMethod() {
3030
result.getDeclaringType().(Class).getASupertype+() = this and
3131
result.overrides+(this.getAMethod()) and

java/ql/lib/semmle/code/java/frameworks/android/Widget.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import semmle.code.java.dataflow.FlowSources
66

77
private class AndroidWidgetSourceModels extends SourceModelCsv {
88
override predicate row(string row) {
9-
row = ["android.widget;EditText;true;getText;;;ReturnValue;android-widget"]
9+
row = "android.widget;EditText;true;getText;;;ReturnValue;android-widget"
1010
}
1111
}
1212

@@ -18,6 +18,6 @@ private class DefaultAndroidWidgetSources extends RemoteFlowSource {
1818

1919
private class AndroidWidgetSummaryModels extends SummaryModelCsv {
2020
override predicate row(string row) {
21-
row = ["android.widget;EditText;true;getText;;;Argument[-1];ReturnValue;taint"]
21+
row = "android.widget;EditText;true;getText;;;Argument[-1];ReturnValue;taint"
2222
}
2323
}

java/ql/lib/semmle/code/java/frameworks/struts/StrutsAnnotations.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class StrutsAnnotation extends Annotation {
1515
class StrutsActionAnnotation extends StrutsAnnotation {
1616
StrutsActionAnnotation() { this.getType().hasName("Action") }
1717

18-
/** Returns a callable annotated with this annotation. */
18+
/** Gets a callable annotated with this annotation. */
1919
Callable getActionCallable() {
2020
result = this.getAnnotatedElement()
2121
or

0 commit comments

Comments
 (0)