Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Adapt to idea 2020.1 API changes (#86)
Browse files Browse the repository at this point in the history
* Replace deprecated API usage

* Revert unnecessarily changing the plugin version
  • Loading branch information
mzarnowski authored Mar 19, 2020
1 parent 943463a commit f5ece78
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.intellij.plugins.thrift.config;

import com.intellij.plugins.thrift.config.target.*;
import com.intellij.util.xmlb.annotations.AbstractCollection;
import com.intellij.util.xmlb.annotations.XCollection;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.model.JpsElementChildRole;
import org.jetbrains.jps.model.ex.JpsElementBase;
Expand Down Expand Up @@ -29,8 +29,7 @@ public static ThriftCompilerOptions getSettings(JpsModule module) {
return config == null ? new ThriftCompilerOptions() : config;
}

@AbstractCollection(
surroundWithTag = false,
@XCollection(
elementTypes = {AS3.class, Cocoa.class, Cpp.class, CSharp.class, Delphi.class, Erlang.class, Generator.class, Go.class, Graphviz.class,
HTML.class, IGenerator.class, Java.class, Javascript.class, PHP.class, Python.class, Ruby.class}
)
Expand Down

0 comments on commit f5ece78

Please sign in to comment.