Merge pull request #4 from RatzzFatzz/dev

[FIX] attributes
This commit is contained in:
Michael
2020-04-15 10:21:48 +02:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ public class AttributeUpdaterKernel {
/* /*
* Creating new ArrayList, because the method removes elements from the list by reference * Creating new ArrayList, because the method removes elements from the list by reference
*/ */
boolean fileHasChanged = new ConfigProcessor(config).processConfig(file, new ArrayList(allValidPaths)); boolean fileHasChanged = new ConfigProcessor(config).processConfig(file, new ArrayList<>(attributes));
if(fileHasChanged){ if(fileHasChanged){
break; break;
} }

View File

@@ -3,11 +3,11 @@ config:
audio: audio:
- jpn - jpn
subtitle: subtitle:
- eng
- ger - ger
- eng
2: 2:
audio: audio:
- eng
- ger - ger
- eng
subtitle: subtitle:
- eng - eng