summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2006-10-04 18:15:28 +0000
committerBrian S. O'Neill <bronee@gmail.com>2006-10-04 18:15:28 +0000
commit4c4d29fd2024901af50ed2a78b7b85fc36c9bcf1 (patch)
tree81bb2a44858e63ddb4eec4ca575ea1a02a16af81 /src/main/java
parentfb3696bc72ce7bcbf17a5188b7fec1c5b690ad23 (diff)
Added extra comment.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/amazon/carbonado/Trigger.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/amazon/carbonado/Trigger.java b/src/main/java/com/amazon/carbonado/Trigger.java
index 20b042f..01e664f 100644
--- a/src/main/java/com/amazon/carbonado/Trigger.java
+++ b/src/main/java/com/amazon/carbonado/Trigger.java
@@ -23,7 +23,9 @@ package com.amazon.carbonado;
* persisted. By default, the methods defined in this class do
* nothing. Subclass and override trigger conditions of interest, and then
* {@link Storage#addTrigger register} it. Each overridden trigger method is
- * called in the same transaction scope as the persist operation.
+ * called in the same transaction scope as the persist operation. Trigger
+ * implementations are encouraged to override the equals method, to prevent
+ * accidental double registration.
*
* <p>To ensure proper nesting, all "before" events are run in the
* <em>opposite</em> order that the trigger was registered. All "after" and