Skip to content

Commit

Permalink
Fix catver/nplayer ini files loading
Browse files Browse the repository at this point in the history
  • Loading branch information
optyfr committed Mar 4, 2024
1 parent df4795d commit b69e4a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Release v3.0.0 beta 18
- Fix NULL Pointer Exception on file/dir chooser when there is no default directory
- CatVer and NPlayers filters were not loading properly

## Release v3.0.0 beta 17
- Use of virtual threads. This means that *Max available* CPU setting can go up to 256 vThreads, and *Adaptive* CPU setting can go up to twice the avail processors on your machine. But even with other settings this should benefit a little.
Expand Down
1 change: 1 addition & 0 deletions changelogs/3.0.0-beta.18.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- Fix NULL Pointer Exception on file/dir chooser when there is no default directory
- CatVer and NPlayers filters were not loading properly
4 changes: 2 additions & 2 deletions jrmcore/src/main/java/jrm/profile/Profile.java
Original file line number Diff line number Diff line change
Expand Up @@ -1758,7 +1758,7 @@ public void loadCatVer(ProgressHandler handler)
{
try
{
final var file = PathAbstractor.getAbsolutePath(session, getProperty(ProfileSettingsEnum.filter_catver_ini, null)).toFile();
final var file = PathAbstractor.getAbsolutePath(session, getProperty(ProfileSettingsEnum.filter_catver_ini, String.class)).toFile();
if (!file.exists())
{
catver=null;
Expand Down Expand Up @@ -1795,7 +1795,7 @@ public void loadNPlayers(ProgressHandler handler)
{
try
{
final var file = PathAbstractor.getAbsolutePath(session, getProperty(ProfileSettingsEnum.filter_nplayers_ini, null)).toFile();
final var file = PathAbstractor.getAbsolutePath(session, getProperty(ProfileSettingsEnum.filter_nplayers_ini, String.class)).toFile();
if (file.exists())
{
if (handler != null)
Expand Down

0 comments on commit b69e4a6

Please sign in to comment.