HHH-7686 Add missing @Overrides in MapProxy

This commit is contained in:
Yoann Rodière 2018-07-05 11:44:55 +02:00 committed by Guillaume Smet
parent 782336faed
commit 7471aa1589
1 changed files with 13 additions and 0 deletions

View File

@ -28,54 +28,67 @@ public class MapProxy implements HibernateProxy, Map, Serializable {
this.li = li; this.li = li;
} }
@Override
public LazyInitializer getHibernateLazyInitializer() { public LazyInitializer getHibernateLazyInitializer() {
return li; return li;
} }
@Override
public int size() { public int size() {
return li.getMap().size(); return li.getMap().size();
} }
@Override
public void clear() { public void clear() {
li.getMap().clear(); li.getMap().clear();
} }
@Override
public boolean isEmpty() { public boolean isEmpty() {
return li.getMap().isEmpty(); return li.getMap().isEmpty();
} }
@Override
public boolean containsKey(Object key) { public boolean containsKey(Object key) {
return li.getMap().containsKey(key); return li.getMap().containsKey(key);
} }
@Override
public boolean containsValue(Object value) { public boolean containsValue(Object value) {
return li.getMap().containsValue(value); return li.getMap().containsValue(value);
} }
@Override
public Collection values() { public Collection values() {
return li.getMap().values(); return li.getMap().values();
} }
@Override
public void putAll(Map t) { public void putAll(Map t) {
li.getMap().putAll(t); li.getMap().putAll(t);
} }
@Override
public Set entrySet() { public Set entrySet() {
return li.getMap().entrySet(); return li.getMap().entrySet();
} }
@Override
public Set keySet() { public Set keySet() {
return li.getMap().keySet(); return li.getMap().keySet();
} }
@Override
public Object get(Object key) { public Object get(Object key) {
return li.getMap().get(key); return li.getMap().get(key);
} }
@Override
public Object remove(Object key) { public Object remove(Object key) {
return li.getMap().remove(key); return li.getMap().remove(key);
} }
@Override
public Object put(Object key, Object value) { public Object put(Object key, Object value) {
return li.getMap().put(key, value); return li.getMap().put(key, value);
} }