changeset 54:7f9033d44a87

small cleanup.
author casties
date Fri, 04 Nov 2016 18:16:04 +0100
parents 3a3362f78d48
children b7a8db041f68
files src/main/java/org/mpi/openmind/cache/WrapperService.java
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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