Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
change
  • Loading branch information
1160300420 committed Jul 22, 2018
1 parent 45e5726 commit dcd7829
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ public static String firstAuthor(String authorField) {
if (authorList.isEmpty()) {
return "";
}
if (authorList.getAuthor(0).getVon().toString().equals("Optional.empty")) {
if (!authorList.getAuthor(0).getVon().isPresent()) {
Character.UnicodeBlock ub = Character.UnicodeBlock.of(authorList.getAuthor(0).getLast().orElse("").charAt(0));
if ((ub == Character.UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS)
|| (ub == Character.UnicodeBlock.CJK_COMPATIBILITY_IDEOGRAPHS)
Expand Down

0 comments on commit dcd7829

Please sign in to comment.