commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1531261 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/ExceptionContext.java
Date Fri, 11 Oct 2013 11:40:13 GMT
Author: britter
Date: Fri Oct 11 11:40:12 2013
New Revision: 1531261

URL: http://svn.apache.org/r1531261
Log:
Avoid modifiers which a implied by the context

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/ExceptionContext.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/ExceptionContext.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/ExceptionContext.java?rev=1531261&r1=1531260&r2=1531261&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/ExceptionContext.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/ExceptionContext.java
Fri Oct 11 11:40:12 2013
@@ -46,7 +46,7 @@ public interface ExceptionContext {
      * @param value  the value of item to add, may be {@code null}
      * @return {@code this}, for method chaining, not {@code null}
      */
-    public ExceptionContext addContextValue(String label, Object value);
+    ExceptionContext addContextValue(String label, Object value);
 
     /**
      * Sets a contextual label-value pair into this context.
@@ -59,7 +59,7 @@ public interface ExceptionContext {
      * @param value  the value of item to add, may be {@code null}
      * @return {@code this}, for method chaining, not {@code null}
      */
-    public ExceptionContext setContextValue(String label, Object value);
+    ExceptionContext setContextValue(String label, Object value);
 
     /**
      * Retrieves all the contextual data values associated with the label.
@@ -67,7 +67,7 @@ public interface ExceptionContext {
      * @param label  the label to get the contextual values for, may be {@code null}
      * @return the contextual values associated with the label, never {@code null}
      */
-    public List<Object> getContextValues(String label);
+    List<Object> getContextValues(String label);
 
     /**
      * Retrieves the first available contextual data value associated with the label.
@@ -75,21 +75,21 @@ public interface ExceptionContext {
      * @param label  the label to get the contextual value for, may be {@code null}
      * @return the first contextual value associated with the label, may be {@code null}
      */
-    public Object getFirstContextValue(String label);
+    Object getFirstContextValue(String label);
 
     /**
      * Retrieves the full set of labels defined in the contextual data.
      * 
      * @return the set of labels, not {@code null}
      */
-    public Set<String> getContextLabels();
+    Set<String> getContextLabels();
 
     /**
      * Retrieves the full list of label-value pairs defined in the contextual data.
      * 
      * @return the list of pairs, not {@code null}
      */
-    public List<Pair<String, Object>> getContextEntries();
+    List<Pair<String, Object>> getContextEntries();
 
     /**
      * Gets the contextualized error message based on a base message.
@@ -98,6 +98,6 @@ public interface ExceptionContext {
      * @param baseMessage  the base exception message <b>without</b> context
information appended
      * @return the exception message <b>with</b> context information appended,
not {@code null}
      */
-    public String getFormattedExceptionMessage(String baseMessage);
+    String getFormattedExceptionMessage(String baseMessage);
 
 }



Mime
View raw message