-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove all internal marshalling and unmarshalling of playlists, use Lizzy module instead. Update to dependency `io.github.borewit:lizzy` to version 2.0.0
- Loading branch information
Showing
77 changed files
with
943 additions
and
116,822 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
build = "gradle" | ||
jdkVersion = "15" | ||
|
||
ignoreRules = ["PATH_TRAVERSAL_IN", "YodaCondition"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
src/main/java/listfix/io/filters/AllPlaylistFileFilter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package listfix.io.filters; | ||
|
||
import listfix.io.playlists.LizzyPlaylistUtil; | ||
|
||
import java.io.File; | ||
import java.io.FileFilter; | ||
|
||
/** | ||
* A FileFilter that accepts our currently supported playlist types, and directories. | ||
*/ | ||
public class AllPlaylistFileFilter extends FileExtensionFilterBase implements FileFilter | ||
{ | ||
public AllPlaylistFileFilter() | ||
{ | ||
super("All Playlists", LizzyPlaylistUtil.playlistExtensions); | ||
} | ||
|
||
@Override | ||
public String getDescription() | ||
{ | ||
return "Playlists"; | ||
} | ||
|
||
@Override | ||
public boolean accept(File file) | ||
{ | ||
return file.isDirectory() || super.accept(file); | ||
} | ||
|
||
@Override | ||
public String toString() | ||
{ | ||
return getDescription(); | ||
} | ||
} | ||
|
Oops, something went wrong.