INRIA / INRIA/spoon

bug: sniper mode does not work when one removes a type

Open
#3,183 1 comment 0 reactions 1 assignee Claimed by @MartinWitt View on GitHub
bug
Dominant language
Java
Stars
2k
Forks
392
Avg merge
11h 24m
Merged PRs (30d)
36

Description

When one removes a top-level type in Sniper mode and that the type is the only one in the file, the file should be removed when pretty-printing.

Use case: automated removal of deprecated classes, see `removeDeprecatedMethods`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.