mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
comparing_string_references_inspection: InspectionBundle prefer delegation
This commit is contained in:
parent
7c806a6e11
commit
17b90f2728
@ -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;
|
package org.intellij.sdk.codeInspection;
|
||||||
|
|
||||||
@ -8,15 +8,14 @@ import org.jetbrains.annotations.NonNls;
|
|||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.jetbrains.annotations.PropertyKey;
|
import org.jetbrains.annotations.PropertyKey;
|
||||||
|
|
||||||
public final class InspectionBundle extends DynamicBundle {
|
public final class InspectionBundle {
|
||||||
|
|
||||||
private static final InspectionBundle ourInstance = new InspectionBundle();
|
|
||||||
|
|
||||||
@NonNls
|
@NonNls
|
||||||
public static final String BUNDLE = "messages.InspectionBundle";
|
public static final String BUNDLE = "messages.InspectionBundle";
|
||||||
|
|
||||||
|
private static final DynamicBundle ourInstance = new DynamicBundle(InspectionBundle.class, BUNDLE);
|
||||||
|
|
||||||
private InspectionBundle() {
|
private InspectionBundle() {
|
||||||
super(BUNDLE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static @Nls String message(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key,
|
public static @Nls String message(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user