- HashMap correctindexmap = new HashMap();
- correctindexmap.put(1, "backupfilestestTemp_BACKUPTEST-00000001.fa");
- correctindexmap.put(2, "backupfilestestTemp_BACKUPTEST-00000002.fa");
- correctindexmap.put(3, "backupfilestestTemp_BACKUPTEST-00000003.fa");
- correctindexmap.put(4, "backupfilestestTemp_BACKUPTEST-00000004.fa");
- correctindexmap.put(5, "backupfilestestTemp_BACKUPTEST-00000005.fa");
- correctindexmap.put(6, "backupfilestestTemp_BACKUPTEST-00000006.fa");
- correctindexmap.put(7, "backupfilestestTemp_BACKUPTEST-00000007.fa");
- correctindexmap.put(8, "backupfilestestTemp_BACKUPTEST-00000008.fa");
- correctindexmap.put(9, "backupfilestestTemp_BACKUPTEST-00000009.fa");
- correctindexmap.put(10, "backupfilestestTemp_BACKUPTEST-00000010.fa");
- HashMap wrongindexmap = new HashMap();
- wrongindexmap.put(1, "backupfilestestTemp_BACKUPTEST-1.fa");
- wrongindexmap.put(2, "backupfilestestTemp_BACKUPTEST-00000002.fa");
- wrongindexmap.put(3, "backupfilestestTemp_BACKUPTEST-00000003.fa");
- wrongindexmap.put(4, "backupfilestestTemp_BACKUPTEST-00000004.fa");
- wrongindexmap.put(5, "backupfilestestTemp_BACKUPTEST-00000005.fa");
- wrongindexmap.put(6, "backupfilestestTemp_BACKUPTEST-00000006.fa");
- wrongindexmap.put(7, "backupfilestestTemp_BACKUPTEST-00000007.fa");
- wrongindexmap.put(8, "backupfilestestTemp_BACKUPTEST-00000008.fa");
- wrongindexmap.put(9, "backupfilestestTemp_BACKUPTEST-00000009.fa");
- wrongindexmap.put(10, "backupfilestestTemp_BACKUPTEST-00000010.fa");
+ HashMap<Integer, String> correctindexmap = new HashMap<>();
+ correctindexmap.put(1, "backupfilestestTemp.fa_BACKUPTEST-000001");
+ correctindexmap.put(2, "backupfilestestTemp.fa_BACKUPTEST-000002");
+ correctindexmap.put(3, "backupfilestestTemp.fa_BACKUPTEST-000003");
+ correctindexmap.put(4, "backupfilestestTemp.fa_BACKUPTEST-000004");
+ correctindexmap.put(5, "backupfilestestTemp.fa_BACKUPTEST-000005");
+ correctindexmap.put(6, "backupfilestestTemp.fa_BACKUPTEST-000006");
+ correctindexmap.put(7, "backupfilestestTemp.fa_BACKUPTEST-000007");
+ correctindexmap.put(8, "backupfilestestTemp.fa_BACKUPTEST-000008");
+ correctindexmap.put(9, "backupfilestestTemp.fa_BACKUPTEST-000009");
+ correctindexmap.put(10, "backupfilestestTemp.fa_BACKUPTEST-000010");
+ HashMap<Integer, String> wrongindexmap = new HashMap<>();
+ wrongindexmap.put(1, "backupfilestestTemp.fa_BACKUPTEST-1");
+ wrongindexmap.put(2, "backupfilestestTemp.fa_BACKUPTEST-000002");
+ wrongindexmap.put(3, "backupfilestestTemp.fa_BACKUPTEST-000003");
+ wrongindexmap.put(4, "backupfilestestTemp.fa_BACKUPTEST-000004");
+ wrongindexmap.put(5, "backupfilestestTemp.fa_BACKUPTEST-000005");
+ wrongindexmap.put(6, "backupfilestestTemp.fa_BACKUPTEST-000006");
+ wrongindexmap.put(7, "backupfilestestTemp.fa_BACKUPTEST-000007");
+ wrongindexmap.put(8, "backupfilestestTemp.fa_BACKUPTEST-000008");
+ wrongindexmap.put(9, "backupfilestestTemp.fa_BACKUPTEST-000009");
+ wrongindexmap.put(10, "backupfilestestTemp.fa_BACKUPTEST-000010");