]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Merge "Save cluster sets only when creating DB snapshots"
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 9 Jan 2017 09:17:02 +0000 (11:17 +0200)
committerGerrit Code Review <gerrit2@www.simantics.org>
Mon, 9 Jan 2017 09:17:02 +0000 (11:17 +0200)
1  2 
bundles/org.simantics.acorn/src/org/simantics/acorn/ClusterManager.java

index c414dd2b601a834a1de15d55be218535721b349d,3cbb64977ae203d3f55efa879e8ec56331477be6..22629d4e64237ab63c6fc89a12f0754087254edb
@@@ -172,12 -171,9 +175,9 @@@ public class ClusterManager 
                if (fullSave)
                    mainState.save(dbFolder);
      
-               ClusterSetsSupport cssi = locator.getService(ClusterSetsSupport.class); 
-               cssi.save();
-     
                amountOfFiles = countFiles(workingDirectory);
                
 -              System.err.println(" -finished: amount of files is " + amountOfFiles);
 +              LOGGER.info(" -finished: amount of files is {}", amountOfFiles);
      
                workingDirectory = dbFolder.resolve(Integer.toString(mainState.headDir));
                if (!Files.exists(workingDirectory)) {