Remove modifiers 'public' and 'abstract' from interface methods
These modifiers are unnecessary (default for interface methods). Change-Id: I5ad21dded21059922fb00449ba44e98037311ac4
This commit is contained in:
@@ -31,7 +31,7 @@ public interface FileTypeRegistry {
|
||||
* or cannot be determined, {@link MimeUtil2#UNKNOWN_MIME_TYPE} which
|
||||
* is an alias for {@code application/octet-stream}.
|
||||
*/
|
||||
public abstract MimeType getMimeType(final String path, final byte[] content);
|
||||
MimeType getMimeType(final String path, final byte[] content);
|
||||
|
||||
/**
|
||||
* Is this content type safe to transmit to a browser directly?
|
||||
@@ -42,6 +42,6 @@ public interface FileTypeRegistry {
|
||||
* content type and wants it to be protected (typically by wrapping
|
||||
* the data in a ZIP archive).
|
||||
*/
|
||||
public abstract boolean isSafeInline(final MimeType type);
|
||||
boolean isSafeInline(final MimeType type);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user