Skip to content

Commit

Permalink
StackFramePresentationProvider should not be AutoClosable
Browse files Browse the repository at this point in the history
it just triggers a bunch of warning
  • Loading branch information
gzsombor committed Dec 10, 2024
1 parent cea0b6f commit 306077e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* preference storage.
*
*/
public class StackFramePresentationProvider implements IPropertyChangeListener, AutoCloseable {
public final class StackFramePresentationProvider implements IPropertyChangeListener {

private final static EnumMap<Category, String> fgKeyMap = new EnumMap<>(Map.of(
Category.CUSTOM_FILTERED, IJDIPreferencesConstants.PREF_CUSTOM_FILTERED_STACK_FRAME_FG_COLOR,
Expand Down Expand Up @@ -267,7 +267,6 @@ private Category categorizeSourceElement(IJavaStackFrame frame) {
return Category.UNKNOWN;
}

@Override
public void close() {
store.removePropertyChangeListener(this);
}
Expand Down

0 comments on commit 306077e

Please sign in to comment.