mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Java: Fix QLDoc for Container.toString()
Fixes #5828 The QLDoc was just too specific about the default implementation. I've improved the wording.
This commit is contained in:
@@ -146,9 +146,11 @@ class Container extends @container, Top {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a textual representation of the path of this container.
|
||||
* Gets a textual representation of this container.
|
||||
*
|
||||
* This is the absolute path of the container.
|
||||
* The default implementation returns the absolute path to the container, but subclasses may
|
||||
* may override to provide a different result. To get the absolute path for any `Container`, call
|
||||
* `Container.getAbsolutePath()` directly.
|
||||
*/
|
||||
override string toString() { result = getAbsolutePath() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user