Project

General

Profile

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
}
(4-4/13)