Skip to content

Commit 7d6a497

Browse files
authored
Merge pull request github#5857 from dbartol/container/work
Java: Fix QLDoc for `Container.toString()`
2 parents 5016c64 + f85aff8 commit 7d6a497

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

java/ql/src/semmle/code/FileSystem.qll

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,11 @@ class Container extends @container, Top {
146146
}
147147

148148
/**
149-
* Gets a textual representation of the path of this container.
149+
* Gets a textual representation of this container.
150150
*
151-
* This is the absolute path of the container.
151+
* The default implementation gets the absolute path to the container, but subclasses may override
152+
* to provide a different result. To get the absolute path of any `Container`, call
153+
* `Container.getAbsolutePath()` directly.
152154
*/
153155
override string toString() { result = getAbsolutePath() }
154156
}

0 commit comments

Comments
 (0)