Inline some variables
There is no point in `Type a = …; return a;`
This commit is contained in:
@@ -79,11 +79,9 @@ public class TestCaseUtils {
|
||||
"from information_schema.system_tables " +
|
||||
"where table_name not like 'SYSTEM%'"
|
||||
, String.class);
|
||||
Map<String, Integer> nbRecords =
|
||||
tableNames.stream()
|
||||
.collect(Collectors.toMap(table -> table, table -> recordsInTable(table,daoHelper)));
|
||||
|
||||
return nbRecords;
|
||||
return tableNames.stream()
|
||||
.collect(Collectors.toMap(table -> table, table -> recordsInTable(table,daoHelper)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,8 +12,7 @@ public class MusicFolderTestData {
|
||||
private static String baseResources = "/MEDIAS/";
|
||||
|
||||
public static String resolveBaseMediaPath() {
|
||||
String baseDir = MusicFolderTestData.class.getResource(baseResources).toString().replace("file:","");
|
||||
return baseDir;
|
||||
return MusicFolderTestData.class.getResource(baseResources).toString().replace("file:","");
|
||||
}
|
||||
|
||||
public static String resolveMusicFolderPath() {
|
||||
|
||||
Reference in New Issue
Block a user