You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2017/05/12 19:23:30 UTC

svn commit: r1795013 - /jmeter/trunk/src/functions/org/apache/jmeter/functions/TimeShift.java

Author: fschumacher
Date: Fri May 12 19:23:30 2017
New Revision: 1795013

URL: http://svn.apache.org/viewvc?rev=1795013&view=rev
Log:
No need to declare runtime exceptions.

Modified:
    jmeter/trunk/src/functions/org/apache/jmeter/functions/TimeShift.java

Modified: jmeter/trunk/src/functions/org/apache/jmeter/functions/TimeShift.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/functions/org/apache/jmeter/functions/TimeShift.java?rev=1795013&r1=1795012&r2=1795013&view=diff
==============================================================================
--- jmeter/trunk/src/functions/org/apache/jmeter/functions/TimeShift.java (original)
+++ jmeter/trunk/src/functions/org/apache/jmeter/functions/TimeShift.java Fri May 12 19:23:30 2017
@@ -137,7 +137,7 @@ public class TimeShift extends AbstractF
         return dateString;
     }
 
-    private DateTimeFormatter createFormatter(String format) throws IllegalArgumentException {
+    private DateTimeFormatter createFormatter(String format) {
 
         log.debug("Create a new instance of DateTimeFormatter for format '{}' in the cache", format);
         return new DateTimeFormatterBuilder().appendPattern(format).parseDefaulting(ChronoField.NANO_OF_SECOND, 0)