File: jfreechart-compatibility.patch

package info (click to toggle)
statcvs 1%3A0.7.0.dfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,732 kB
  • sloc: java: 10,476; xml: 4,365; sh: 47; makefile: 5
file content (35 lines) | stat: -rw-r--r-- 1,391 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From: Markus Koschany <apo@debian.org>
Date: Fri, 21 Oct 2016 17:18:20 +0200
Subject: jfreechart compatibility

Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841547
Forwarded: no
---
 src/net/sf/statcvs/charts/SymbolicNameAnnotation.java | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/net/sf/statcvs/charts/SymbolicNameAnnotation.java b/src/net/sf/statcvs/charts/SymbolicNameAnnotation.java
index e099519..b749d58 100644
--- a/src/net/sf/statcvs/charts/SymbolicNameAnnotation.java
+++ b/src/net/sf/statcvs/charts/SymbolicNameAnnotation.java
@@ -24,6 +24,7 @@ import org.jfree.chart.plot.XYPlot;
 import org.jfree.text.TextUtilities;
 import org.jfree.ui.RectangleEdge;
 import org.jfree.ui.TextAnchor;
+import org.jfree.chart.event.AnnotationChangeListener;
 
 /**
  * SymbolicNameAnnotation
@@ -131,4 +132,10 @@ public class SymbolicNameAnnotation implements XYAnnotation {
     private float getNaturalX(final SymbolicName tag, final Rectangle2D dataArea, final ValueAxis domainAxis, final RectangleEdge domainEdge) {
         return (float) domainAxis.valueToJava2D(tag.getDate().getTime(), dataArea, domainEdge);
     }
-}
\ No newline at end of file
+
+    public void removeChangeListener(AnnotationChangeListener listener) {
+    };
+
+    public void addChangeListener(AnnotationChangeListener listener) {
+    };
+}