Skip to content

Commit

Permalink
plantuml.1.2020.9.jar
Browse files Browse the repository at this point in the history
  • Loading branch information
krasa committed May 11, 2020
1 parent 1c3c6da commit 71c6670
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
5 changes: 3 additions & 2 deletions META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<idea-plugin version="2">
<name>PlantUML integration</name>
<version>2.25.1</version>
<version>2.25.2</version>
<vendor url="https://github.com/esteinberg/plantuml4idea/">Eugene Steinberg</vendor>
<!-- IJ 12+ -->
<idea-version since-build="193"/>
Expand All @@ -11,7 +11,8 @@
<![CDATA[
<p>2.25</p>
<ul>
<li>PlantUml library upgrade to v1.2020.8</li>
<li>PlantUml library upgrade to v1.2020.9</li>
<li>Fixed scaling on multiple monitors with different DPI</li>
<li>Setting for PLANTUML_LIMIT_SIZE</li>
<li>Setting for plantuml.include.path</li>
</ul>
Expand Down
Binary file not shown.
12 changes: 0 additions & 12 deletions src/org/plantuml/idea/util/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@
import net.sourceforge.plantuml.FileSystem;
import net.sourceforge.plantuml.SourceStringReader;
import net.sourceforge.plantuml.preproc.Defines;
import net.sourceforge.plantuml.preproc.ImportedFiles;
import org.apache.commons.lang.StringUtils;
import org.jetbrains.annotations.NotNull;
import org.plantuml.idea.lang.PlantIUmlFileType;
import org.plantuml.idea.lang.PlantUmlFileType;
import org.plantuml.idea.lang.settings.PlantUmlSettings;

import java.io.File;
import java.lang.reflect.Field;
import java.util.Collections;
import java.util.List;

Expand Down Expand Up @@ -51,16 +49,6 @@ public static void setPlantUmlDir(@NotNull File baseDir) {
}

System.setProperty("plantuml.include.path", sb.toString());

try {
Field include_path = ImportedFiles.class.getDeclaredField("INCLUDE_PATH");
include_path.setAccessible(true);
List<File> o = (List<File>) include_path.get(null);
o.clear();
o.addAll(FileSystem.getPath("plantuml.include.path", true));
} catch (Throwable e) {
LOG.debug(e);
}
}

public static void resetPlantUmlDir() {
Expand Down

0 comments on commit 71c6670

Please sign in to comment.