Skip to content

SNAP-3518 clone Datum when transferring GcpGeoCoding #384

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lveci
Copy link
Contributor

@lveci lveci commented Jun 2, 2023

https://senbox.atlassian.net/browse/SNAP-3518

clone Datum when transferring GcpGeoCoding

@lveci lveci requested a review from TomBlock June 2, 2023 01:03
@TomBlock
Copy link
Contributor

TomBlock commented Jun 2, 2023

Hi Luis,

instead of copying the Datum, I'd prefer that you implement the clone() method of the Datum class and use this in GCPGeoCoding.clone(). There exists already a (useless) stub in Datum.

Can you please add the STTM annotation at the GCPTest method you updated?

Cheers,
Tom

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ellipsoid inherits from Object, so I doubt that calling super.clone() will have any useful effect.

Copy link
Contributor

@TomBlock TomBlock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Luis,

better, but - see my comment on the Ellipsoid class.
Besides this: these are all deprecated classes (since BEAM 4.7), so we probably should start a refactoring here..

@CLAassistant
Copy link

CLAassistant commented Jun 14, 2023

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants