-
Notifications
You must be signed in to change notification settings - Fork 3.6k
HHH-19372 HHH-19369 Test and fix CCE and IAE with access optimizer and inheritance #10192
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
base: 6.6
Are you sure you want to change the base?
Conversation
|
||
private String field; | ||
|
||
public Long getId() { |
Check notice
Code scanning / CodeQL
Missing Override annotation Note test
Ancestor.getId
return id; | ||
} | ||
|
||
public void setId(Long id) { |
Check notice
Code scanning / CodeQL
Missing Override annotation Note test
Ancestor.setId
@Entity | ||
public class ConcreteEntity extends SuperclassEntity { | ||
@Id | ||
protected long id; |
Check warning
Code scanning / CodeQL
Field masks field in super class Warning test
id
protected long id; | ||
protected String bname; | ||
|
||
public long getId() { |
Check notice
Code scanning / CodeQL
Missing Override annotation Note test
SuperclassEntity.getId
return id; | ||
} | ||
|
||
public void setId(long id) { |
Check notice
Code scanning / CodeQL
Missing Override annotation Note test
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.
https://hibernate.atlassian.net/browse/HHH-19369
https://hibernate.atlassian.net/browse/HHH-19372