src/share/classes/sun/java2d/SunGraphics2D.java
Print this page
@@ -915,11 +915,11 @@
/**
* Return the SurfaceData object assigned to manage the destination
* drawable surface of this Graphics2D.
*/
- public final SurfaceData getSurfaceData() {
+ public SurfaceData getSurfaceData() {
return surfaceData;
}
/**
* Sets the Composite in the current graphics state. Composite is used
@@ -1732,11 +1732,11 @@
* conditions:
* (paintState <= PAINT_ALPHA_COLOR &&
* compositeState <= COMP_CUSTOM)
* though nothing bad will happen if it is run in other states.
*/
- final void validateColor() {
+ void validateColor() {
int eargb;
if (imageComp == CompositeType.Clear) {
eargb = 0;
} else {
eargb = foregroundColor.getRGB();