diff options
author | Paolo G. Giarrusso <p.giarrusso@gmail.com> | 2016-05-25 18:03:44 +0200 |
---|---|---|
committer | Paolo G. Giarrusso <p.giarrusso@gmail.com> | 2016-05-25 18:03:44 +0200 |
commit | 0577280bd19eafee12c590ba280916b5b9b307ad (patch) | |
tree | 0f7c5cfd4d962b660b44362b9f4c3858b9cdf105 /interfaces/src/main/java/dotty/tools/dotc/interfaces/ReporterResult.java | |
parent | d06df38c5e48ae8c957c4b71844cb850dea3a6cb (diff) | |
download | dotty-0577280bd19eafee12c590ba280916b5b9b307ad.tar.gz dotty-0577280bd19eafee12c590ba280916b5b9b307ad.tar.bz2 dotty-0577280bd19eafee12c590ba280916b5b9b307ad.zip |
Fix remaining Javadoc warnings
As a reference for how to fix warnings appropriately, I used
http://www.oracle.com/technetwork/articles/java/index-137868.html
However, I did not refrain from moving the entire JavaDoc of a method
into `@return` rather than repeating it, even though the guide (at a
quick skimming) seems to suggest otherwise.
Diffstat (limited to 'interfaces/src/main/java/dotty/tools/dotc/interfaces/ReporterResult.java')
-rw-r--r-- | interfaces/src/main/java/dotty/tools/dotc/interfaces/ReporterResult.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/interfaces/src/main/java/dotty/tools/dotc/interfaces/ReporterResult.java b/interfaces/src/main/java/dotty/tools/dotc/interfaces/ReporterResult.java index 63c5104df..f75519db2 100644 --- a/interfaces/src/main/java/dotty/tools/dotc/interfaces/ReporterResult.java +++ b/interfaces/src/main/java/dotty/tools/dotc/interfaces/ReporterResult.java @@ -6,13 +6,13 @@ package dotty.tools.dotc.interfaces; * manipulate objects of this type. */ public interface ReporterResult { - /** Have we emitted any error ? */ + /** @return Have we emitted any error? */ boolean hasErrors(); - /** Number of errors that have been emitted */ + /** @return Number of errors that have been emitted */ int errorCount(); - /** Have we emitted any warning ? */ + /** @return Have we emitted any warning ? */ boolean hasWarnings(); - /** Number of warnings that have been emitted */ + /** @return Number of warnings that have been emitted */ int warningCount(); } |