-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean-up Deprecated API Usage #21
Comments
This issue is stale because it has been open for 90 days with no activity. |
This issue was closed because it has been inactive for 180 days since being marked as stale. |
This will be a longer going effort. Therfore I reopen it it so that we have it as notification in the open issue list. |
This issue is stale because it has been open for 90 days with no activity. |
This issue was closed because it has been inactive for 180 days since being marked as stale. |
While working through the different deprecated fields and methods in GEF Classic I came across Point::getDistance2. This method calculates the squared distance between to points. The deprecation comment their states that instead I checked the usage of Did I miss anything? Any opinion from @ptziegler, @Destrolaric, or @Phillipus? |
I really don't like the method name, so because of that alone, I would keep it deprecated. What about creating a new method |
Hey @azoitl, I would like to contribute to this issue, just wanted to run that by you once. There wouldn't be any problem if I submit a PR in near future, would it? |
Please see #383 for the breaking change caused by the last merge. |
This issue is stale because it has been open for 90 days with no activity. |
Having the squared distance between two points can be used often for simple sorting of points. It is more efficient then calculating the real distance. However the old getDistanc2's name was not very intuitive. With this change we have an appropriate replacement. Addresses eclipse-gef#21
Having the squared distance between two points can be used often for simple sorting of points. It is more efficient then calculating the real distance. However the old getDistanc2's name was not very intuitive. With this change we have an appropriate replacement. Addresses #21
Draw2d's Ray class is deprecated. This commit removes all its usage and replaces it with the Vector class. To make migration easier two new constructors where added to Vector. Addresses eclipse-gef#21
Draw2d's Ray class is deprecated. This commit removes all its usage and replaces it with the Vector class. To make migration easier two new constructors where added to Vector. Addresses eclipse-gef#21
Draw2d's Ray class is deprecated. This commit removes all its usage and replaces it with the Vector class. To make migration easier two new constructors where added to Vector. Addresses eclipse-gef#21
Draw2d's Ray class is deprecated. This commit removes all its usage and replaces it with the Vector class. To make migration easier two new constructors where added to Vector. Addresses eclipse-gef#21
Draw2d's Ray class is deprecated. This commit removes all its usage and replaces it with the Vector class. To make migration easier two new constructors where added to Vector. Addresses eclipse-gef#21
Draw2d's Ray class is deprecated. This commit removes all its usage and replaces it with the Vector class. To make migration easier two new constructors where added to Vector. Addresses eclipse-gef#21
Draw2d's Ray class is deprecated. This commit removes all its usage and replaces it with the Vector class. To make migration easier two new constructors where added to Vector. Addresses #21
Several of the API elements marked as deprecated are used through out the GEF code base. As a first step for clean-up it would be good to replace this usage with the according replacement APIs.
The text was updated successfully, but these errors were encountered: