changed getId to be final to lower the chance of accidentally overriding it
This commit is contained in:
parent
87abfd147f
commit
7176bddc15
1 changed files with 1 additions and 1 deletions
2
src/zutil/db/bean/DBBean.java
Executable file → Normal file
2
src/zutil/db/bean/DBBean.java
Executable file → Normal file
|
|
@ -446,7 +446,7 @@ public abstract class DBBean {
|
|||
/**
|
||||
* @return the object id or null if the bean has not bean saved yet
|
||||
*/
|
||||
public Long getId(){
|
||||
public final Long getId(){
|
||||
return id;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue