Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M Finkbeiner2012-11-19 19:46:03 -0500
committerAndrew M Finkbeiner2012-11-20 14:42:10 -0500
commitbbadd9bdfcd25b2a2922134e6c5a4c648583ea05 (patch)
tree5840e2e246ba4c28a1d7bb0c6ee2d230d6d1729c /plugins/org.eclipse.osee.ote.version.svn/src/org/eclipse
parentf0f79d0dd8ec3ed4dae30f9c570ca4114d68d175 (diff)
downloadorg.eclipse.osee-bbadd9bdfcd25b2a2922134e6c5a4c648583ea05.tar.gz
org.eclipse.osee-bbadd9bdfcd25b2a2922134e6c5a4c648583ea05.tar.xz
org.eclipse.osee-bbadd9bdfcd25b2a2922134e6c5a4c648583ea05.zip
feature[ats_SLD0F]: Update version info service to enable faster git performance
Diffstat (limited to 'plugins/org.eclipse.osee.ote.version.svn/src/org/eclipse')
-rw-r--r--plugins/org.eclipse.osee.ote.version.svn/src/org/eclipse/osee/ote/version/svn/SvnVersionProvider.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.ote.version.svn/src/org/eclipse/osee/ote/version/svn/SvnVersionProvider.java b/plugins/org.eclipse.osee.ote.version.svn/src/org/eclipse/osee/ote/version/svn/SvnVersionProvider.java
index 741429df0d..ff9507ab06 100644
--- a/plugins/org.eclipse.osee.ote.version.svn/src/org/eclipse/osee/ote/version/svn/SvnVersionProvider.java
+++ b/plugins/org.eclipse.osee.ote.version.svn/src/org/eclipse/osee/ote/version/svn/SvnVersionProvider.java
@@ -1,6 +1,8 @@
package org.eclipse.osee.ote.version.svn;
import java.io.File;
+import java.util.List;
+import java.util.Map;
import org.eclipse.osee.ote.version.FileVersion;
import org.eclipse.osee.ote.version.FileVersionInformationProvider;
@@ -26,4 +28,14 @@ public class SvnVersionProvider implements FileVersionInformationProvider {
return svn.exists();
}
+ @Override
+ public void getFileVersions(List<File> files, Map<File, FileVersion> versions) {
+ for(File file:files){
+ FileVersion version = getFileVersion(file);
+ if(version != null){
+ versions.put(file, version);
+ }
+ }
+ }
+
}

Back to the top