Skip to content

Commit 5243fe3

Browse files
JLLeitschuhsmowton
andauthored
Apply suggestions from code review
Co-authored-by: Chris Smowton <[email protected]>
1 parent 7ab193d commit 5243fe3

File tree

1 file changed

+1
-1
lines changed
  • java/ql/lib/semmle/code/java

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/JDK.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ class MethodAccessSystemGetProperty extends MethodAccess {
270270
* For example: `System.getProperty("user.dir")`.
271271
*
272272
* Note: Better to use `semmle.code.java.environment.SystemProperty#getSystemProperty` instead
273-
* as that predicate covers more libraries' and JDK API's ways of accessing the same information
273+
* as that predicate covers ways of accessing the same information via various libraries.
274274
*/
275275
predicate hasCompileTimeConstantGetPropertyName(string propertyName) {
276276
this.getArgument(0).(CompileTimeConstantExpr).getStringValue() = propertyName

0 commit comments

Comments
 (0)