code formatting

This commit is contained in:
Claudio Atzori 2020-05-26 09:54:13 +02:00
parent e87eca9300
commit 7b288a94cb
2 changed files with 9 additions and 8 deletions

View File

@ -314,7 +314,8 @@ public class Result extends OafEntity implements Serializable {
} }
private StructuredProperty getMainTitle(List<StructuredProperty> titles) { private StructuredProperty getMainTitle(List<StructuredProperty> titles) {
//need to check if the list of titles contains more than 1 main title? (in that case, we should chose which main title select in the list) // need to check if the list of titles contains more than 1 main title? (in that case, we should chose which
// main title select in the list)
for (StructuredProperty title : titles) { for (StructuredProperty title : titles) {
if (title.getQualifier() != null && title.getQualifier().getClassid() != null) if (title.getQualifier() != null && title.getQualifier().getClassid() != null)
if (title.getQualifier().getClassid().equals("main title")) if (title.getQualifier().getClassid().equals("main title"))