Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 140913 Details for
Bug 282589
Public access to SWTGraphics#clone(LineAttributes) and SWTGraphics#copyLineAttributes()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch
Public_Clone_Copy (text/plain), 1.14 KB, created by
Alex Boyko
on 2009-07-06 19:06:45 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Alex Boyko
Created:
2009-07-06 19:06:45 EDT
Size:
1.14 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.draw2d >Index: src/org/eclipse/draw2d/SWTGraphics.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.gef/plugins/org.eclipse.draw2d/src/org/eclipse/draw2d/SWTGraphics.java,v >retrieving revision 1.53 >diff -u -r1.53 SWTGraphics.java >--- src/org/eclipse/draw2d/SWTGraphics.java 30 Jan 2009 21:40:44 -0000 1.53 >+++ src/org/eclipse/draw2d/SWTGraphics.java 6 Jul 2009 23:08:03 -0000 >@@ -1304,7 +1304,7 @@ > /** > * Countermeasure against LineAttributes class not having its own clone() method. > */ >-static LineAttributes clone(LineAttributes src) { >+public static LineAttributes clone(LineAttributes src) { > float[] dashClone = null; > if (src.dash != null) { > dashClone = new float[src.dash.length]; >@@ -1316,7 +1316,7 @@ > /** > * Countermeasure against LineAttributes class not having a copy by value function. > */ >-static void copyLineAttributes(LineAttributes dest, LineAttributes src) { >+public static void copyLineAttributes(LineAttributes dest, LineAttributes src) { > if(dest != src) { > dest.cap = src.cap; > dest.join = src.join;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 282589
: 140913