Skip to content
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

Generic geometry #777

Merged
merged 1 commit into from
Dec 2, 2018
Merged

Generic geometry #777

merged 1 commit into from
Dec 2, 2018

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Nov 21, 2018

This PR uses generics to apply to correct geometry type for an annotation.

Copy link
Member

@LukasPaczos LukasPaczos left a comment

Choose a reason for hiding this comment

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

One note, otherwise 🚀

plugin-annotation/scripts/annotation.java.ejs Outdated Show resolved Hide resolved
Copy link
Member

@LukasPaczos LukasPaczos left a comment

Choose a reason for hiding this comment

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

🚀

this.jsonObject = jsonObject;
this.jsonObject.addProperty(ID_KEY, id);
this.geometry = geometry;
}

void setGeometry(Geometry geometry) {
public void setGeometry(T geometry) {
Copy link
Member

Choose a reason for hiding this comment

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

Since we are making set/get public, javadoc entry would be great.

@tobrun tobrun merged commit 990124b into master Dec 2, 2018
@tobrun tobrun deleted the tvn-generic-geometry branch December 2, 2018 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants