Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 282589
Collapse All | Expand All

(-)src/org/eclipse/draw2d/SWTGraphics.java (-2 / +2 lines)
Lines 1304-1310 Link Here
1304
/**
1304
/**
1305
 * Countermeasure against LineAttributes class not having its own clone() method.
1305
 * Countermeasure against LineAttributes class not having its own clone() method.
1306
 */
1306
 */
1307
static LineAttributes clone(LineAttributes src) {
1307
public static LineAttributes clone(LineAttributes src) {
1308
	float[] dashClone = null;
1308
	float[] dashClone = null;
1309
	if (src.dash != null) {
1309
	if (src.dash != null) {
1310
		dashClone = new float[src.dash.length];
1310
		dashClone = new float[src.dash.length];
Lines 1316-1322 Link Here
1316
/**
1316
/**
1317
 * Countermeasure against LineAttributes class not having a copy by value function.
1317
 * Countermeasure against LineAttributes class not having a copy by value function.
1318
 */
1318
 */
1319
static void copyLineAttributes(LineAttributes dest, LineAttributes src) {
1319
public static void copyLineAttributes(LineAttributes dest, LineAttributes src) {
1320
	if(dest != src) {
1320
	if(dest != src) {
1321
		dest.cap = src.cap;
1321
		dest.cap = src.cap;
1322
		dest.join = src.join;
1322
		dest.join = src.join;

Return to bug 282589