You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by ka...@apache.org on 2012/09/13 00:16:06 UTC

git commit: FIXED - TAP5-1996: Add Severity.SUCCESS enum for alerts - add the appropriate @since for each Severity enum value

Updated Branches:
  refs/heads/master aea07df75 -> aa3ee48cf


FIXED - TAP5-1996: Add Severity.SUCCESS enum for alerts 
- add the appropriate @since for each Severity enum value


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/aa3ee48c
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/aa3ee48c
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/aa3ee48c

Branch: refs/heads/master
Commit: aa3ee48cf946159f165cb0a3b7ccf6a0641417cf
Parents: aea07df
Author: Kalle Korhonen <ka...@apache.org>
Authored: Wed Sep 12 15:14:49 2012 -0700
Committer: Kalle Korhonen <ka...@apache.org>
Committed: Wed Sep 12 15:14:49 2012 -0700

----------------------------------------------------------------------
 .../java/org/apache/tapestry5/alerts/Severity.java |   19 ++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/aa3ee48c/tapestry-core/src/main/java/org/apache/tapestry5/alerts/Severity.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/alerts/Severity.java b/tapestry-core/src/main/java/org/apache/tapestry5/alerts/Severity.java
index 524a9f8..bb5e7a0 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/alerts/Severity.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/alerts/Severity.java
@@ -16,10 +16,27 @@ package org.apache.tapestry5.alerts;
 
 /**
  * The severity of an {@link Alert}, used primarily to control how it is decorated when presented to the user on the client side.
+ * 
+ * @since 5.3
  */
 public enum Severity
 {
-    SUCCESS, INFO, WARN, ERROR;
+    /**
+     * @since 5.3.6
+     */
+    SUCCESS, 
+    /**
+     * @since 5.3
+     */
+    INFO, 
+    /**
+     * @since 5.3
+     */
+    WARN, 
+    /**
+     * @since 5.3
+     */
+    ERROR;
 
     /**
      * The CSS class to be used for the client list element.