Skip to content

Commit

Permalink
Cleanup GLSLFileType
Browse files Browse the repository at this point in the history
Guava seems to be no longer part of standard SDK?
  • Loading branch information
Darkyenus committed Jan 18, 2017
1 parent 61f7dbb commit d3640d2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/glslplugin/lang/GLSLFileType.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

package glslplugin.lang;

import com.google.common.collect.ImmutableSet;
import com.intellij.openapi.fileTypes.LanguageFileType;
import com.intellij.openapi.util.IconLoader;
import org.jetbrains.annotations.NonNls;
Expand All @@ -28,24 +27,25 @@

import javax.swing.*;

import glslplugin.lang.GLSLLanguage;

import java.util.HashSet;
import java.util.Set;

/**
* Language file type
*/
public class GLSLFileType extends LanguageFileType {

public static final Set<String> EXTENSIONS = ImmutableSet.of(
"glsl",
"frag",
"vert",
"tesc",
"tese",
"geom",
"comp"
);
public static final Set<String> EXTENSIONS = new HashSet<>();

static {
EXTENSIONS.add("glsl");
EXTENSIONS.add("frag");
EXTENSIONS.add("vert");
EXTENSIONS.add("tesc");
EXTENSIONS.add("tese");
EXTENSIONS.add("geom");
EXTENSIONS.add("comp");
}

public GLSLFileType() {
super(GLSLLanguage.GLSL_LANGUAGE);
Expand Down

0 comments on commit d3640d2

Please sign in to comment.