Index: topia/src/java/org/codelutin/topia/AbstractTopiaPersistenceService.java diff -u topia/src/java/org/codelutin/topia/AbstractTopiaPersistenceService.java:1.5 topia/src/java/org/codelutin/topia/AbstractTopiaPersistenceService.java:1.6 --- topia/src/java/org/codelutin/topia/AbstractTopiaPersistenceService.java:1.5 Sun Aug 15 13:44:10 2004 +++ topia/src/java/org/codelutin/topia/AbstractTopiaPersistenceService.java Sun Aug 15 13:56:22 2004 @@ -23,9 +23,9 @@ * * @author Benjamin Poussin * Copyright Code Lutin - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ * - * Mise a jour: $Date: 2004/08/15 13:44:10 $ + * Mise a jour: $Date: 2004/08/15 13:56:22 $ * par : $Author: pineau $ */ @@ -85,14 +85,13 @@ return result; } public void delete(TopiaEntity topiaEntity) throws TopiaException{ - TopiaEntity result = getContext().getPersistenceHelper().delete(topiaEntity); + getContext().getPersistenceHelper().delete(topiaEntity); try { - getContext().getListeners().fire(this, "entityRemoved", new TopiaEntityEvent(this, result)); + getContext().getListeners().fire(this, "entityRemoved", new TopiaEntityEvent(this, topiaEntity)); } catch (Exception e) { e.printStackTrace(); // No trace that would pollute logs } - return result; } /**