You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/10/11 13:40:13 UTC

svn commit: r1531261 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/ExceptionContext.java

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);
 
 }