Author: rwesten
Date: Tue Jul 24 10:44:54 2012
New Revision: 1364970
URL: http://svn.apache.org/viewvc?rev=1364970&view=rev
Log:
FileStore should now fully support Store<ContentItem>
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/store/file/src/main/java/org/apache/stanbol/contenthub/store/file/FileStore.java
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/store/file/src/main/java/org/apache/stanbol/contenthub/store/file/FileStore.java
URL:
http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/store/file/src/main/java/org/apache/stanbol/contenthub/store/file/FileStore.java?rev=1364970&r1=1364969&r2=1364970&view=diff
==============================================================================
---
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/store/file/src/main/java/org/apache/stanbol/contenthub/store/file/FileStore.java
(original)
+++
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/store/file/src/main/java/org/apache/stanbol/contenthub/store/file/FileStore.java
Tue Jul 24 10:44:54 2012
@@ -690,8 +690,8 @@ public class FileStore implements Store<
}
@Override
- public ChangeSet changes(long revision, int batchSize) throws
StoreException {
- ChangeSetImpl changesSet = (ChangeSetImpl)
revisionManager.getChanges(revision, batchSize);
+ public ChangeSet<ContentItem> changes(long revision, int batchSize) throws
StoreException {
+ ChangeSetImpl<ContentItem> changesSet = (ChangeSetImpl<ContentItem>)
revisionManager.getChanges(revision, batchSize);
changesSet.setStore(this);
return changesSet;
}