diff --git a/code_samples/comparing_string_references_inspection/src/main/java/org/intellij/sdk/codeInspection/InspectionBundle.java b/code_samples/comparing_string_references_inspection/src/main/java/org/intellij/sdk/codeInspection/InspectionBundle.java index f3fbcec52..84c9e84b2 100644 --- a/code_samples/comparing_string_references_inspection/src/main/java/org/intellij/sdk/codeInspection/InspectionBundle.java +++ b/code_samples/comparing_string_references_inspection/src/main/java/org/intellij/sdk/codeInspection/InspectionBundle.java @@ -1,4 +1,4 @@ -// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.intellij.sdk.codeInspection; @@ -8,15 +8,14 @@ import org.jetbrains.annotations.NonNls; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.PropertyKey; -public final class InspectionBundle extends DynamicBundle { - - private static final InspectionBundle ourInstance = new InspectionBundle(); +public final class InspectionBundle { @NonNls public static final String BUNDLE = "messages.InspectionBundle"; + private static final DynamicBundle ourInstance = new DynamicBundle(InspectionBundle.class, BUNDLE); + private InspectionBundle() { - super(BUNDLE); } public static @Nls String message(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key,