// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.buildout.config;

import com.intellij.openapi.fileTypes.LanguageFileType;
import icons.PythonIcons;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import javax.swing.*;

public final class BuildoutCfgFileType extends LanguageFileType {
  public static final BuildoutCfgFileType INSTANCE = new BuildoutCfgFileType();
  @NonNls public static final String DEFAULT_EXTENSION = "cfg";
  @NonNls private static final String NAME = "BuildoutCfg";
  @NonNls private static final String DESCRIPTION = "Buildout config";

  private BuildoutCfgFileType() {
    super(BuildoutCfgLanguage.INSTANCE);
  }

  @Override
  @NotNull
  public String getName() {
    return NAME;
  }

  @Override
  @NotNull
  public String getDescription() {
    return DESCRIPTION;
  }

  @Override
  @NotNull
  public String getDefaultExtension() {
    return DEFAULT_EXTENSION;
  }

  @Override
  @Nullable
  public Icon getIcon() {
    return PythonIcons.Python.Buildout.Buildout;
  }
}


@@ -248,65 +248,66 @@
 ort 
-i
 co
-ns.PythonIcons;%0Aimport org.jetbrains.annotations.NonNl
+m.intellij.openapi.util.NlsSafe;%0Aimport icons.PythonIcon
 s;%0Ai
@@ -562,24 +562,16 @@
 pe();%0A  
-@NonNls 
 public s
@@ -574,32 +574,41 @@
 ic static final 
+@NlsSafe 
 String DEFAULT_E
@@ -623,32 +623,24 @@
  = %22cfg%22;%0A  
-@NonNls 
 private stat
@@ -644,24 +644,33 @@
 tatic final 
+@NlsSafe 
 String NAME 
@@ -692,16 +692,8 @@
 ;%0A  
-@NonNls 
 priv
@@ -709,16 +709,25 @@
 c final 
+@NlsSafe 
 String D

Replace `@NonNls` with more appropriate `@NlsSafe` annotation