Skip to content

Commit

Permalink
drop unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
VISTALL committed Jan 30, 2025
1 parent 7d6cd9d commit ca97f46
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,6 @@ public class CSharpFilePropertyPusher implements FilePropertyPusher<CSharpFileAt
public static final Key<CSharpFileAttribute> ourCSharpFileAttributeKey = Key.create("CSharpFilePropertyPusher.PREPROCESSOR_VARIABLES");
private static final FileAttribute ourFileAttribute = new FileAttribute("csharp-file-preprocessor-variables", 2, false);

private static final Key<Set<String>> ourChangedModulesKey = Key.create("CSharpFilePropertyPusher.ourChangedModules");

private void addChanged(Project project, ModuleExtension<?> newExtension) {
Set<String> changedModules = project.getUserData(ourChangedModulesKey);
if (changedModules == null) {
changedModules = new HashSet<>();
}

project.putUserData(ourChangedModulesKey, changedModules);

changedModules.add(newExtension.getModule().getName());
}

@Nonnull
@Override
public Key<CSharpFileAttribute> getFileDataKey() {
Expand Down

0 comments on commit ca97f46

Please sign in to comment.