Skip to content
Snippets Groups Projects
Commit 723df71f authored by tpylak's avatar tpylak
Browse files

LMS-2463 minor: formatting, naming

SVN: 22705
parent 8739c4a6
No related branches found
No related tags found
No related merge requests found
......@@ -84,10 +84,10 @@ public class MaterialUploadSectionsParser
return new BatchMaterialsOperation(newSamples, results, parseCodes(newSamples));
}
private static String[] parseCodes(final List<NewMaterialsWithTypes> newSamples)
private static String[] parseCodes(final List<NewMaterialsWithTypes> newMaterials)
{
List<String> codes = new ArrayList<String>();
for (NewMaterialsWithTypes st : newSamples)
for (NewMaterialsWithTypes st : newMaterials)
{
for (NewMaterial s : st.getNewEntities())
{
......@@ -108,8 +108,8 @@ public class MaterialUploadSectionsParser
List<FileSection> materialSections = new ArrayList<FileSection>();
if (materialType.isDefinedInFileEntityTypeCode())
{
materialSections
.addAll(FileSection.extractSections(multipartFile.getUnicodeReader()));
materialSections.addAll(FileSection.extractSections(multipartFile
.getUnicodeReader()));
} else
{
materialSections.add(FileSection.createFromInputStream(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment