Skip to content

Commit

Permalink
Do not connect backward dependencies to listener when invalidate - ch…
Browse files Browse the repository at this point in the history
…eckstyle

Signed-off-by: GONCALVES Bruno <[email protected]>
  • Loading branch information
GONCALVES Bruno committed Jun 11, 2024
1 parent 1d61dc6 commit 60cfb83
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/
package com.powsybl.afs;

import com.google.common.collect.ImmutableList;
import com.powsybl.afs.mapdb.storage.MapDbAppStorage;
import com.powsybl.afs.storage.AppStorage;
import com.powsybl.afs.storage.InMemoryEventsBus;
Expand Down Expand Up @@ -37,7 +36,7 @@ void test() {
Project project = afs.getRootFolder().createProject("project");
FooFile tic = project.getRootFolder().fileBuilder(FooFileBuilder.class).withName("tic").build();
FooFile tic2 = project.getRootFolder().fileBuilder(FooFileBuilder.class).withName("tic2").build();
WithDependencyFile tac = project.getRootFolder().fileBuilder(WithDependencyFileBuilder.class).build();
WithDependencyFile tac = project.getRootFolder().fileBuilder(WithDependencyFileBuilder.class).withName("WithDependencyFile").build();
assertNull(tac.getTicDependency());
tac.setFooDependency(tic);
assertNotNull(tac.getTicDependency());
Expand Down

0 comments on commit 60cfb83

Please sign in to comment.