Commit 9b5306cb authored by Romain Bioteau's avatar Romain Bioteau Committed by GitHub
Browse files

fix(svn) synchronization of new rest api extension (#853)

CLoses BS-17580
parent 43a6cad6
......@@ -67,4 +67,6 @@ public interface IRepositoryStore<T extends IRepositoryFileStore> extends IDispl
void close();
void repositoryUpdated();
}
......@@ -82,4 +82,5 @@ public abstract class AbstractFolderRepositoryStore<T extends IRepositoryFileSto
public void migrate(final IProgressMonitor monitor) throws CoreException, MigrationException {
//NOTHING TO MIGRATE
}
}
......@@ -373,7 +373,7 @@ public abstract class AbstractRepositoryStore<T extends IRepositoryFileStore> im
if (r instanceof IFile && r.exists()) {
final IFile iFile = (IFile) r;
InputStream newIs;
try(final InputStream is = iFile.getContents()) {
try (final InputStream is = iFile.getContents()) {
newIs = handlePreImport(r.getName(), is);
if (!is.equals(newIs)) {
iFile.setContents(newIs, IResource.FORCE, monitor);
......@@ -424,4 +424,13 @@ public abstract class AbstractRepositoryStore<T extends IRepositoryFileStore> im
public Set<String> getCompatibleExtensions() {
return Collections.emptySet();
}
/*
* (non-Javadoc)
* @see org.bonitasoft.studio.common.repository.model.IRepositoryStore#repositoryUpdated()
*/
@Override
public void repositoryUpdated() {
//NOTHING TO UPDATE
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment