Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

ANY23-445 Review spotbugs issues #151

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -37,7 +37,7 @@ public interface ExtractorFactory<T extends Extractor<?>> extends ExtractorDescr

/**
* Supports wildcards, e.g. <code>"*&#47;*"</code> for blind extractors that merely call a web service.
* @return a {@link java.util.Collection} of supported mimetypes.
* @return a {@link java.util.Collection} of supported {@link org.apache.any23.mime.MIMEType}'s.
*/
Collection<MIMEType> getSupportedMIMETypes();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
import java.util.Iterator;

/**
* It simple models a group of {@link ExtractorFactory} providing
* simple accessing methods.
* Models a group of {@link ExtractorFactory} objcts providing
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

* simple accessor methods.
*/
public class ExtractorGroup implements Iterable<ExtractorFactory<?>> {

Expand Down Expand Up @@ -78,7 +78,7 @@ public boolean allExtractorsSupportAllContentTypes() {
return true;
}

private boolean supportsAllContentTypes(ExtractorFactory factory) {
private boolean supportsAllContentTypes(ExtractorFactory<?> factory) {
return factory.getSupportedMIMETypes().contains("*/*");
}

Expand Down