# HG changeset patch # User casties # Date 1478279764 -3600 # Node ID 7f9033d44a875df36386cb4302b269edfe494094 # Parent 3a3362f78d4830f61a4f3183ed8378cbd7bd39f2 small cleanup. diff -r 3a3362f78d48 -r 7f9033d44a87 src/main/java/org/mpi/openmind/cache/WrapperService.java --- a/src/main/java/org/mpi/openmind/cache/WrapperService.java Thu Nov 03 20:12:36 2016 +0100 +++ b/src/main/java/org/mpi/openmind/cache/WrapperService.java Fri Nov 04 18:16:04 2016 +0100 @@ -983,8 +983,14 @@ } /** + * Load and attach the Attributes and Relations of the given Entity. + * + * Tries to loads from cache first and then from DB, saving to cache. + * + * Returns a cloned Entity. + * * This method should not be used inside this Wrapper class, because it - * could throws an java.util.ConcurrentModificationException. + * could throw a java.util.ConcurrentModificationException. * * @param ent * @return