<commit_before>/*
 * Copyright 2000-2013 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*
 * Created by IntelliJ IDEA.
 * User: mike
 * Date: Sep 16, 2002
 * Time: 5:17:44 PM
 * To change template for new class use 
 * Code Style | Class Templates options (Tools | IDE Options).
 */
package com.intellij.openapi.application.ex;

import com.intellij.openapi.application.ApplicationInfo;
import com.intellij.openapi.util.IconLoader;
import consulo.annotations.DeprecationInfo;
import consulo.application.ApplicationProperties;

import javax.swing.*;
import java.awt.*;

public abstract class ApplicationInfoEx extends ApplicationInfo {

  public static ApplicationInfoEx getInstanceEx() {
    return (ApplicationInfoEx)ApplicationInfo.getInstance();
  }

  public abstract String getAboutImageUrl();

  @Deprecated
  @DeprecationInfo("Do not use this method. Use SandboxUtil.getAppIcon()")
  public String getIconUrl() {
    return getUrl("/icon32");
  }

  @Deprecated
  @DeprecationInfo("Do not use this method. Use SandboxUtil.getAppIcon()")
  public String getSmallIconUrl() {
    return getUrl("/icon16");
  }

  public static Icon getWelcomeScreenLogo() {
    return IconLoader.getIcon(getUrl("/Logo_welcomeScreen"));
  }

  private static String getUrl(String prefix) {
    return (ApplicationProperties.isInSandbox() ? prefix + "-sandbox" : prefix) + ".png";
  }

  public abstract String getFullApplicationName();

  public abstract String getDocumentationUrl();

  public abstract String getSupportUrl();

  public abstract String getReleaseFeedbackUrl();

  public abstract String getStatisticsUrl();

  public abstract String getWebHelpUrl();

  public abstract String getWhatsNewUrl();

  public abstract String getWinKeymapUrl();

  public abstract String getMacKeymapUrl();

  public abstract Color getAboutForeground();
}
<commit_msg>dead method and icon<commit_after>/*
 * Copyright 2000-2013 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*
 * Created by IntelliJ IDEA.
 * User: mike
 * Date: Sep 16, 2002
 * Time: 5:17:44 PM
 * To change template for new class use 
 * Code Style | Class Templates options (Tools | IDE Options).
 */
package com.intellij.openapi.application.ex;

import com.intellij.openapi.application.ApplicationInfo;
import consulo.annotations.DeprecationInfo;
import consulo.application.ApplicationProperties;

import java.awt.*;

public abstract class ApplicationInfoEx extends ApplicationInfo {

  public static ApplicationInfoEx getInstanceEx() {
    return (ApplicationInfoEx)ApplicationInfo.getInstance();
  }

  public abstract String getAboutImageUrl();

  @Deprecated
  @DeprecationInfo("Do not use this method. Use SandboxUtil.getAppIcon()")
  public String getIconUrl() {
    return getUrl("/icon32");
  }

  @Deprecated
  @DeprecationInfo("Do not use this method. Use SandboxUtil.getAppIcon()")
  public String getSmallIconUrl() {
    return getUrl("/icon16");
  }

  private static String getUrl(String prefix) {
    return (ApplicationProperties.isInSandbox() ? prefix + "-sandbox" : prefix) + ".png";
  }

  public abstract String getFullApplicationName();

  public abstract String getDocumentationUrl();

  public abstract String getSupportUrl();

  public abstract String getReleaseFeedbackUrl();

  public abstract String getStatisticsUrl();

  public abstract String getWebHelpUrl();

  public abstract String getWhatsNewUrl();

  public abstract String getWinKeymapUrl();

  public abstract String getMacKeymapUrl();

  public abstract Color getAboutForeground();
}

{'fraction_non_alphanumeric': 0.08989744708706088, 'fraction_numerical': 0.011782675103643902, 'mean_word_length': 4.489820359281437, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6992529', 'n_tokens_mistral': 1298, 'n_tokens_neox': 1213, 'n_words': 441}