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:
Dave Bartolomeo
2021-05-08 11:14:02 -04:00
parent 65ac5b862d
commit d9f243d18a

View File

@@ -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() } override string toString() { result = getAbsolutePath() }
} }