delete param entitymanagerin createUpdatedEntitymethod, because it is never used
public static [EntityName] createUpdatedEntity(EntityManager em) {
// em is never used
}
no idea
@geyuqiu, you could start providing PRs.
Is quite easy.
Ex:
This will really be helpful for changes like this one.
It's a very simple cleanup, but maybe this is kept from backward compatibility, in that case it will be labeled as 7.x.
@geyuqiu : Also just to add to what mshima said, we also have a contribution guidelines document at https://github.com/jhipster/generator-jhipster/blob/master/CONTRIBUTING.md. You will find all the information that is necessary to make contributions to the project there. If you have any doubts feel free to ask in out Gitter Channel; https://gitter.im/jhipster/generator-jhipster 馃槃
In fact this parameter is used when your entity has required relationships with other entities. And since the templates that generates the code that calls this method can't know it the parameter will be used, it always provides it.
BTW @geyuqiu please provide more context and information when you create issue (jhipster info, JDL used, ...) because it's often an headache to understand what you're talking about. E.g. here you're talking about a method, but don't even say in which class is this method. Because I know this part of the generator, I know that this is in the generated integration test for an entity. But then I would need the .json or the JDL to reproduce what you've observed.
BTW @geyuqiu please provide more context and information when you create issue (jhipster info, JDL used, ...) because it's often an headache to understand what you're talking about. E.g. here you're talking about a method, but don't even say in which class is this method. Because I know this part of the generator, I know that this is in the generated integration test for an entity. But then I would need the .json or the JDL to reproduce what you've observed.
@geyuqiu : Can't agree more on what @murdos said. We are quite happy to incorporate your suggestions but I am also having a hard time understanding what you are proposing sometimes. So please complete the issue/bug templates as much as you could 馃槃
This ticket has been closed as the guidelines are not followed.
Tickets must follow our Guidelines, as mentioned in:
We have also created a template on the "create a new ticket" page to help you follow those guidelines.
If this is indeed a JHipster bug, please open a new issue with proper details or update this issue with all details and request to reopen.
Issues opened without proper details will be closed without explanation.
If you have a question please use Stack Overflow, and tag the question with jhipster. This helps the project to keep the issue tracker clean. Also, Stack Overflow will give your question a larger audience:
Most helpful comment
In fact this parameter is used when your entity has required relationships with other entities. And since the templates that generates the code that calls this method can't know it the parameter will be used, it always provides it.
BTW @geyuqiu please provide more context and information when you create issue (jhipster info, JDL used, ...) because it's often an headache to understand what you're talking about. E.g. here you're talking about a method, but don't even say in which class is this method. Because I know this part of the generator, I know that this is in the generated integration test for an entity. But then I would need the .json or the JDL to reproduce what you've observed.