forked from D-Net/dnet-hadoop
format code
This commit is contained in:
parent
ded6ed8d7d
commit
505477f36f
|
@ -64,7 +64,6 @@ public class OdfToOafMapper extends AbstractMdRecordToOafMapper {
|
|||
author.setName(name);
|
||||
}
|
||||
|
||||
|
||||
if (StringUtils.isBlank(surname) & pp.isAccurate()) {
|
||||
author.setSurname(pp.getNormalisedSurname());
|
||||
} else {
|
||||
|
|
|
@ -388,6 +388,7 @@ public class MappersTest {
|
|||
System.out.println(new ObjectMapper().writeValueAsString(list));
|
||||
System.out.println("***************");
|
||||
}
|
||||
|
||||
@Test
|
||||
void testBologna() throws IOException {
|
||||
final String xml = IOUtils.toString(getClass().getResourceAsStream("oaf-bologna.xml"));
|
||||
|
|
Loading…
Reference in New Issue