1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

* {di} binding now always returns the duplicate indenity index 1..n and will never unwind

This commit is contained in:
Reinhard Pointner 2015-03-16 05:51:03 +00:00
parent cc425ba66f
commit 1fcdd21837

View File

@ -788,8 +788,7 @@ public class MediaBindingBean {
duplicates.add(it); duplicates.add(it);
} }
} }
int di = identityIndexOf(duplicates, getInfoObject()); return 1 + identityIndexOf(duplicates, getInfoObject());
return di == 0 ? null : di;
} }
@Define("self") @Define("self")