Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f58ebad

Browse files
Java: Fix QLDoc
1 parent fc4d7c3 commit f58ebad

4 files changed

Lines changed: 17 additions & 1 deletion

File tree

java/ql/src/semmle/code/java/frameworks/guava/Guava.qll

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Definitions for tracking taint steps throught the Guava framework.
3+
*/
4+
15
import java
26
private import Strings
37
private import Splitter
@@ -10,7 +14,7 @@ abstract class GuavaTaintPropagationMethod extends Method {
1014
/**
1115
* Holds if this method propagates taint between the given source and sink.
1216
* `src` and `sink` are indicies of arguments to this method, or -1 to represent the qualifier.
13-
* `sink` ca also be -2 to represent the return value.
17+
* `sink` can also be -2 to represent the return value.
1418
*/
1519
abstract predicate propagatesTaint(int src, int sink);
1620
}

java/ql/src/semmle/code/java/frameworks/guava/Joiner.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Definitions for tracking taint steps through the methods of `com.google.common.base.Joiner`.
3+
*/
4+
15
import java
26
import Guava
37

java/ql/src/semmle/code/java/frameworks/guava/Splitter.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Definitions for tracking taint steps through the methods of `com.google.common.base.Splitter`.
3+
*/
4+
15
import java
26
import Guava
37

java/ql/src/semmle/code/java/frameworks/guava/Strings.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Definitions for tracking taint steps through the methods of `com.google.common.base.Strings`.
3+
*/
4+
15
import java
26
import Guava
37

0 commit comments

Comments
 (0)