Revision 47243
Added by Alessia Bardi almost 7 years ago
modules/dnet-data-services/branches/saxonHE/src/main/java/eu/dnetlib/data/mdstore/modular/mongodb/MongoResultSetListener.java | ||
---|---|---|
86 | 86 |
} |
87 | 87 |
|
88 | 88 |
@Override |
89 |
public synchronized boolean hasNext() {
|
|
89 |
public boolean hasNext() { |
|
90 | 90 |
return currentCursor.hasNext(); |
91 | 91 |
} |
92 | 92 |
|
93 | 93 |
@Override |
94 |
public synchronized String next() throws ResultSetException {
|
|
94 |
public String next() throws ResultSetException { |
|
95 | 95 |
count++; |
96 | 96 |
return serializer.apply(currentCursor.next()); |
97 | 97 |
} |
Also available in: Unified diff
reverted, I restarted the webapp and did not get those error again