dnet50/modules/dnet-data-provision-services/trunk/src/main/java/eu/dnetlib/oai/DummyRecordChangeDetector.java @ 42181
1 |
package eu.dnetlib.oai; |
---|---|
2 |
|
3 |
/**
|
4 |
* This is a basic dummy implementation that always returns true, regardless the actual content of the records to compare.
|
5 |
*
|
6 |
* @author alessia
|
7 |
*/
|
8 |
public class DummyRecordChangeDetector implements RecordChangeDetector { |
9 |
|
10 |
/**
|
11 |
* {@inheritDoc}
|
12 |
*
|
13 |
* @see eu.dnetlib.data.oai.store.RecordChangeDetector#differs(String, String)
|
14 |
*/
|
15 |
@Override
|
16 |
public boolean differs(final String record1, final String record2) { |
17 |
return true; |
18 |
}
|
19 |
|
20 |
}
|