logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1483429 - /logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/layout/HTMLLayoutTest.java
Date Thu, 16 May 2013 16:03:22 GMT
Author: ggregory
Date: Thu May 16 16:03:22 2013
New Revision: 1483429

URL: http://svn.apache.org/r1483429
Log:
Renmove unnecessary throws clause.

Modified:
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/layout/HTMLLayoutTest.java

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/layout/HTMLLayoutTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/layout/HTMLLayoutTest.java?rev=1483429&r1=1483428&r2=1483429&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/layout/HTMLLayoutTest.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/layout/HTMLLayoutTest.java
Thu May 16 16:03:22 2013
@@ -63,13 +63,13 @@ public class HTMLLayoutTest {
 
 
     @Test
-    public void testContentType() throws Exception {
+    public void testContentType() {
         final HTMLLayout layout = HTMLLayout.createLayout("true", null, null, null, "small",
null);
         assertEquals("text/html; charset=UTF-8", layout.getContentType());
     }
     
     @Test
-    public void testDefaultCharset() throws Exception {
+    public void testDefaultCharset() {
         final HTMLLayout layout = HTMLLayout.createLayout("true", null, null, null, "small",
null);
         assertEquals(Charsets.UTF_8, layout.getCharset());
     }
@@ -78,7 +78,7 @@ public class HTMLLayoutTest {
      * Test case for MDC conversion pattern.
      */
     @Test
-    public void testLayout() throws Exception {
+    public void testLayout() {
 
         // set up appender
         final HTMLLayout layout = HTMLLayout.createLayout("true", null, null, null, "small",
null);



Mime
View raw message