From 09d0b93784e1984a3def28a3c7d18faefaae25d9 Mon Sep 17 00:00:00 2001 From: Yann Richet Date: Fri, 27 Nov 2015 11:32:55 +0100 Subject: [PATCH] remove dependency to jmatharray and jmathplot --- pom.xml | 4 ++-- .../swing/DefaultSyntaxColorizerPerfTest.java | 17 ++++++----------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 1eba0be..1358a02 100644 --- a/pom.xml +++ b/pom.xml @@ -121,7 +121,7 @@ - + org.apache.maven.plugins maven-gpg-plugin diff --git a/src/test/java/javax/swing/DefaultSyntaxColorizerPerfTest.java b/src/test/java/javax/swing/DefaultSyntaxColorizerPerfTest.java index bba10b9..0e5fcb9 100644 --- a/src/test/java/javax/swing/DefaultSyntaxColorizerPerfTest.java +++ b/src/test/java/javax/swing/DefaultSyntaxColorizerPerfTest.java @@ -11,13 +11,8 @@ import java.io.IOException; import java.util.Calendar; import java.util.HashMap; -import java.util.logging.Level; -import java.util.logging.Logger; import org.irsn.javax.swing.CodeEditorPane; -import org.math.array.DoubleArray; -import org.math.plot.FrameView; -import org.math.plot.Plot2DPanel; /** * @@ -110,11 +105,11 @@ public void setUp() throws Exception { frame.setSize(800, 800); frame.setVisible(true); - tictocplot = new Plot2DPanel(); - new FrameView(tictocplot); + //tictocplot = new Plot2DPanel(); + //new FrameView(tictocplot); } static double tic; - Plot2DPanel tictocplot; + //Plot2DPanel tictocplot; static String repeat(String s, int n) { StringBuilder sb = new StringBuilder(n * s.length()); @@ -131,13 +126,13 @@ public void testTicTocs() { for (int i = 1; i <= 33; i++) { String content = repeat(unit_content, i); double[] s = test10TicTocs(content); - tictocplot.addScatterPlot("", DoubleArray.buildXY(unit * i, unit * i, s)); + //tictocplot.addScatterPlot("", DoubleArray.buildXY(unit * i, unit * i, s)); } - try { + /*try { tictocplot.toGraphicFile(new File("DefaultSyntaxColorizerPerfTest.png")); } catch (IOException ex) { ex.printStackTrace(); - } + }*/ } public double[] test10TicTocs(String content) {