diff --git a/examples/src/main/java/org/piccolo2d/examples/ActivityMemoryLeakBugExample.java b/examples/src/main/java/org/piccolo2d/examples/ActivityMemoryLeakBugExample.java index dccdd7c..32957df 100644 --- a/examples/src/main/java/org/piccolo2d/examples/ActivityMemoryLeakBugExample.java +++ b/examples/src/main/java/org/piccolo2d/examples/ActivityMemoryLeakBugExample.java @@ -34,7 +34,8 @@ import org.piccolo2d.extras.PFrame; import org.piccolo2d.nodes.PPath; -import javax.swing.*; +import javax.swing.SwingUtilities; +import javax.swing.Timer; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.lang.ref.WeakReference; @@ -43,7 +44,7 @@ * Example that demonstrates the memory leak in Issue 185. *

* Memory leak - PActivityScheduler keeps processed activities in reference
- * {@link http://code.google.com/p/piccolo2d/issues/detail?id=185} + * http://code.google.com/p/piccolo2d/issues/detail?id=185 *

*/ public class ActivityMemoryLeakBugExample extends PFrame { @@ -105,4 +106,4 @@ } }.start(); } -} \ No newline at end of file +} diff --git a/extras/src/main/java/org/piccolo2d/extras/pswing/PSwing.java b/extras/src/main/java/org/piccolo2d/extras/pswing/PSwing.java index 23aa128..bc5e128 100644 --- a/extras/src/main/java/org/piccolo2d/extras/pswing/PSwing.java +++ b/extras/src/main/java/org/piccolo2d/extras/pswing/PSwing.java @@ -220,7 +220,7 @@ /** * Whether or not to use buffered painting. - * @see {@link #paint(java.awt.Graphics2D)} + * @see #paint(java.awt.Graphics2D) */ private boolean useBufferedPainting = false; @@ -741,4 +741,4 @@ this.greekThreshold = greekThreshold; invalidatePaint(); } -} \ No newline at end of file +}