Changeset 8219
- Timestamp:
- 02/11/10 13:57:36 (6 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
head/ambra/webapp/src/main/java/org/topazproject/ambra/struts2/AmbraFeedResult.java
r8133 r8219 2 2 * $Id:: $ 3 3 * 4 * Copyright (c) 2006-20 09by Topaz, Inc. http://topazproject.org4 * Copyright (c) 2006-2010 by Topaz, Inc. http://topazproject.org 5 5 * 6 6 * Licensed under the Apache License, Version 2.0 (the "License"); … … 28 28 import com.sun.syndication.feed.atom.Person; 29 29 import com.sun.syndication.io.WireFeedOutput; 30 31 import java.util.HashSet; 30 32 import java.util.List; 31 33 import java.util.ArrayList; … … 699 701 private List<Person> newContributorsList(Article article) { 700 702 List<Person> newContributors = new ArrayList<Person>(); 703 704 /* 705 * FIXME: contributors field exists in DublinCore but it's not being populated on ingest. 706 * article.getDublinCore().getContributors() is useless at the moment. 707 */ 701 708 Set<String> contributors = article.getDublinCore().getContributors(); 709 710 Citation citation = article.getDublinCore().getBibliographicCitation(); 711 if (citation != null) { 712 // Avoid duplicates 713 contributors = new HashSet<String>(contributors); 714 contributors.addAll(citation.getCollaborativeAuthors()); 715 } 702 716 703 717 for (String contributor: contributors) {
