Fix diamond operator
Remove unused override comments Remove unused javadoc on private methode Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
This commit is contained in:
@@ -88,7 +88,7 @@ final class DistributionSetTypeMapper {
|
||||
}
|
||||
|
||||
static List<DistributionSetTypeRest> toListResponse(final List<DistributionSetType> types) {
|
||||
final List<DistributionSetTypeRest> response = new ArrayList<DistributionSetTypeRest>();
|
||||
final List<DistributionSetTypeRest> response = new ArrayList<>();
|
||||
for (final DistributionSetType dsType : types) {
|
||||
response.add(toResponse(dsType));
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ final class SoftwareModuleTypeMapper {
|
||||
}
|
||||
|
||||
static List<SoftwareModuleTypeRest> toListResponse(final Collection<SoftwareModuleType> types) {
|
||||
final List<SoftwareModuleTypeRest> response = new ArrayList<SoftwareModuleTypeRest>();
|
||||
final List<SoftwareModuleTypeRest> response = new ArrayList<>();
|
||||
for (final SoftwareModuleType softwareModule : types) {
|
||||
response.add(toResponse(softwareModule));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user