Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krasa committed Jan 31, 2021
1 parent 78f5fa8 commit b65dda9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/plantuml/idea/action/save/SaveTestAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.project.DumbAwareAction;
import org.jetbrains.annotations.NotNull;
import org.plantuml.idea.adapter.FacadeImpl;
import org.plantuml.idea.external.PlantUmlFacade;
import org.plantuml.idea.plantuml.ImageFormat;
import org.plantuml.idea.plantuml.SourceExtractor;
import org.plantuml.idea.toolwindow.Zoom;
Expand All @@ -16,7 +16,7 @@ public class SaveTestAction extends DumbAwareAction {
public void actionPerformed(@NotNull AnActionEvent anActionEvent) {
for (ImageFormat value : ImageFormat.values()) {
try {
new FacadeImpl().renderAndSave(SourceExtractor.TESTDOT, new File("testData/version.puml"), value, "F:\\workspace\\_projekty\\plantuml4idea\\out\\" + value.name() + "." + value.name().toLowerCase(Locale.ROOT), null, new Zoom(100), 0);
PlantUmlFacade.get().renderAndSave(SourceExtractor.TESTDOT, new File("testData/version.puml"), value, "F:\\workspace\\_projekty\\plantuml4idea\\out\\" + value.name() + "." + value.name().toLowerCase(Locale.ROOT), null, new Zoom(100), 0);
} catch (Throwable e) {
e.printStackTrace();
}
Expand Down

0 comments on commit b65dda9

Please sign in to comment.