langtools/src/jdk.jshell/share/classes/jdk/jshell/Diag.java
changeset 37004 ff77b7986967
parent 33362 65ec6de1d6b4
child 37644 33cf53901cac
--- a/langtools/src/jdk.jshell/share/classes/jdk/jshell/Diag.java	Fri Apr 08 10:52:26 2016 +0100
+++ b/langtools/src/jdk.jshell/share/classes/jdk/jshell/Diag.java	Fri Apr 08 11:52:46 2016 +0200
@@ -55,8 +55,7 @@
      * <p>{@code getPosition() <= getEndPosition()}
      *
      * @return character offset from beginning of source; {@link
-     * #NOPOS} if {@link #getSource()} would return {@code null} or if
-     * no location is suitable
+     * #NOPOS} if the position is not available.
      */
     public abstract long getPosition();