Revision 50625
Added by Panagiotis Kanakakis over 6 years ago
modules/uoa-goldoa-portal/branches/hibernate/src/main/java/eu/dnetlib/server/DataServiceImpl.java | ||
---|---|---|
45 | 45 |
private String hostName; |
46 | 46 |
private String publicCaptchaKey = null; |
47 | 47 |
private String privateCaptchaKey = null; |
48 |
private boolean firstRound = false; |
|
48 | 49 |
private Log log = LogFactory.getLog(DataServiceImpl.class); |
49 | 50 |
|
50 | 51 |
public void init(ServletConfig config) throws ServletException { |
... | ... | |
134 | 135 |
|
135 | 136 |
@Override |
136 | 137 |
public List<AlternativeFundingBid> getAlternativeFundingBids(){ |
137 |
alternativeFundingBidManager.importAlternativeFundingBids(); |
|
138 |
if(!firstRound) { |
|
139 |
alternativeFundingBidManager.importAlternativeFundingBids(); |
|
140 |
firstRound = true; |
|
141 |
} |
|
138 | 142 |
return alternativeFundingBidManager.getAllFundingBids(); |
139 | 143 |
} |
140 | 144 |
|
Also available in: Unified diff
1. Add alternative funding bids only once