We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9410be commit 9f9b865Copy full SHA for 9f9b865
src/main/java/com/ss/editor/ui/preview/FilePreview.java
@@ -37,7 +37,7 @@ public interface FilePreview extends Reusable {
37
* @return true if this preview supports the resource.
38
*/
39
@FXThread
40
- default boolean isSupport(@NotNull String resource) {
+ default boolean isSupport(@NotNull final String resource) {
41
return !StringUtils.isEmpty(FileUtils.getExtension(resource));
42
}
43
@@ -48,7 +48,7 @@ default boolean isSupport(@NotNull String resource) {
48
* @return true if this preview supports the file.
49
50
51
- default boolean isSupport(@NotNull Path file) {
+ default boolean isSupport(@NotNull final Path file) {
52
return !StringUtils.isEmpty(FileUtils.getExtension(file));
53
54
0 commit comments