[testng] 233/355: Build fix.

Eugene Zhukov eugene-guest at moszumanska.debian.org
Tue Aug 18 10:20:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to annotated tag OpenBSD
in repository testng.

commit 92b3466d28f93cc7ab770d742517a0430b30abb6
Author: Cedric Beust <cedric at beust.com>
Date:   Sun Apr 26 19:27:23 2015 -0700

    Build fix.
---
 src/main/java/org/testng/TimeBombSkipException.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/testng/TimeBombSkipException.java b/src/main/java/org/testng/TimeBombSkipException.java
index c386b06..1777233 100755
--- a/src/main/java/org/testng/TimeBombSkipException.java
+++ b/src/main/java/org/testng/TimeBombSkipException.java
@@ -184,9 +184,9 @@ public class TimeBombSkipException extends SkipException {
       // SimpleDateFormat is not thread-safe, and m_inFormat 
       // is, by default, connected to the static SDF variable
       synchronized( m_inFormat ){
-        Date d= m_inFormat.parse(date);
+        Date d = m_inFormat.parse(date);
+        initExpireDate(d);
       }
-      initExpireDate(d);
     }
     catch(ParseException pex) {
       throw new TestNGException("Cannot parse date:" + date + " using pattern: " + m_inFormat, pex);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git



More information about the pkg-java-commits mailing list