changed getId to be final to lower the chance of accidentally overriding it

This commit is contained in:
Ziver Koc 2016-08-25 22:26:21 +02:00
parent 87abfd147f
commit 7176bddc15

2
src/zutil/db/bean/DBBean.java Executable file → Normal file
View 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;
}