[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: java.awt.image.ConvolveOp fix
From: |
David Gilbert |
Subject: |
[cp-patches] FYI: java.awt.image.ConvolveOp fix |
Date: |
Mon, 25 Jul 2005 10:56:03 +0000 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050426) |
I committed this patch to fix some Mauve failures:
2005-07-25 David Gilbert <address@hidden>
* java/awt/image/ConvolveOp.java:
(getKernel): return a clone of the kernel.
Regards,
Dave Gilbert
Index: java/awt/image/ConvolveOp.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/image/ConvolveOp.java,v
retrieving revision 1.4
diff -u -r1.4 ConvolveOp.java
--- java/awt/image/ConvolveOp.java 2 Jul 2005 20:32:30 -0000 1.4
+++ java/awt/image/ConvolveOp.java 25 Jul 2005 09:45:30 -0000
@@ -177,11 +177,13 @@
}
/**
+ * Returns (a clone of) the convolution kernel.
+ *
* @return The convolution kernel.
*/
public Kernel getKernel()
{
- return kernel;
+ return (Kernel) kernel.clone();
}
/* (non-Javadoc)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: java.awt.image.ConvolveOp fix,
David Gilbert <=