Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix javadoc @return #369

Merged
merged 1 commit into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ private IArtifactRepository load(URI repoURI, IProgressMonitor monitor) throws P
// * The verification is done using the artifactComparator specified by comparatorID
// * Assumes more valuable logging and output is the responsibility of the artifactComparator implementation.
// * @param comparatorID
// * @returns true if the repository is consistent, false if two equal descriptors refer to different artifacts on disk.
// * @return true if the repository is consistent, false if two equal descriptors refer to different artifacts on disk.
// */
// private boolean validate(String comparatorID) {
// IArtifactComparator comparator = ArtifactComparatorFactory.getArtifactComparator(comparatorID);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private long headerChecksum(byte[] header) {
* Skips ahead to the position of the given entry in the file.
*
* @param entry
* @returns false if the entry has already been passed
* @return false if the entry has already been passed
* @throws TarException
* @throws IOException
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private VersionParser() {
* @param version The string to be parsed
* @param start Start position in the <code>version</code> string
* @param maxPos End position in the <code>version</code> string
* @returns a version if one indeed was parsed or <code>null</code> if the string
* @return a version if one indeed was parsed or <code>null</code> if the string
* contained only whitespace.
* @throws IllegalArgumentException if the version is malformed
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private static IEclipsePreferences getTransportPreferences() {
* IStateful target is updated with status even if this methods throws
* {@link OperationCanceledException}.
*
* @returns IStatus, that is a {@link DownloadStatus} on success.
* @return IStatus, that is a {@link DownloadStatus} on success.
* @param toDownload URI of file to download
* @param target OutputStream where result is written
* @param startPos the starting position of the download, or -1 for from start
Expand All @@ -118,7 +118,7 @@ public IStatus download(URI toDownload, OutputStream target, long startPos, IPro
* reported on the monitor. If the <code>target</code> is an instance of
* {@link IStateful} the resulting status is also set on the target.
*
* @returns IStatus, that is a {@link DownloadStatus} on success.
* @return IStatus, that is a {@link DownloadStatus} on success.
* @param toDownload URI of file to download
* @param target OutputStream where result is written
* @param monitor where progress should be reported
Expand All @@ -130,8 +130,8 @@ public IStatus download(URI toDownload, OutputStream target, long startPos, IPro
* Perform a stream download, writing into an InputStream that is returned.
* Performs authentication if needed.
*
* @returns InputStream a stream with the content from the toDownload URI, or
* null
* @return InputStream a stream with the content from the toDownload URI, or
* null
* @param toDownload URI of file to download
* @param monitor monitor checked for cancellation
* @throws OperationCanceledException if the operation was canceled.
Expand Down Expand Up @@ -184,7 +184,7 @@ public abstract long getLastModified(URI toDownload, IProgressMonitor monitor)
* @return the corresponding secure location or the location itself.
* @throws CoreException if the location URI is considered unacceptably
* insecure.
*
*
* @see #getProtocolRules()
* @see #getDefaultProtocolRules()
*/
Expand Down
Loading