Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

feature/hashmap import java removal#295

Merged
baywet merged 4 commits intodevmicrosoftgraph/MSGraph-SDK-Code-Generator:devfrom
feature/hashmap-import-java-removalmicrosoftgraph/MSGraph-SDK-Code-Generator:feature/hashmap-import-java-removalCopy head branch name to clipboard
Sep 18, 2020
Merged

feature/hashmap import java removal#295
baywet merged 4 commits intodevmicrosoftgraph/MSGraph-SDK-Code-Generator:devfrom
feature/hashmap-import-java-removalmicrosoftgraph/MSGraph-SDK-Code-Generator:feature/hashmap-import-java-removalCopy head branch name to clipboard

Conversation

@baywet
Copy link
Member

@baywet baywet commented Sep 18, 2020

Summary

removes unnecessary imports.

Generated code differences

microsoftgraph/msgraph-sdk-java#482

@baywet baywet self-assigned this Sep 18, 2020
import com.google.gson.JsonElement;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
<# if(((OdcmClass)c).IsOpen && !((OdcmClass)c).Properties.Any()) { #>
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Looks like this is needed for AdditionalData. Consider leaving a comment on the relation between the import of HashMap and the condition.

Copy link
Member Author

Choose a reason for hiding this comment

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

it's not for additional data but for open type with no properties (that are effectively hashmaps), things like PlannerChecklistItems for instance

@baywet baywet merged commit 36b766d into dev Sep 18, 2020
@baywet baywet deleted the feature/hashmap-import-java-removal branch September 18, 2020 17:20
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.