Skip to content

Commit

Permalink
[sdk] format UnindexReport
Browse files Browse the repository at this point in the history
  • Loading branch information
Enet4 committed Oct 15, 2022
1 parent fa6bee7 commit 9362f5a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static final class FailedUnindex implements Serializable {
* when no cause is specified.
*/
public final Exception cause;

/** Creates a failed unindex description
* due to the file not being found in the database.
*
Expand All @@ -54,9 +54,9 @@ public FailedUnindex(URI uri, Exception cause) {
Objects.requireNonNull(uri);
this.uri = uri;
this.cause = cause;
}
}
}

/** URIs of files which were not found. */
private final Collection<URI> notFound;
private final Collection<FailedUnindex> failures;
Expand All @@ -66,7 +66,7 @@ public FailedUnindex(URI uri, Exception cause) {
* in which case is equivalent to passing an empty collection.
* @param notFound the URIs of files which were not found
* @param failures the error reports of files which could not be unindexed
*/
*/
public UnindexReport(Collection<URI> notFound, Collection<FailedUnindex> failures) {
if (notFound == null) {
notFound = Collections.emptyList();
Expand Down

0 comments on commit 9362f5a

Please sign in to comment.