maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibordig...@apache.org
Subject [10/19] maven-surefire git commit: [SUREFIRE] refactoring proper happens-before relationship: read buffer happens before close
Date Thu, 23 Jul 2015 21:29:14 GMT
[SUREFIRE] refactoring proper happens-before relationship: read buffer happens before close


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/a83675e7
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/a83675e7
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/a83675e7

Branch: refs/heads/master
Commit: a83675e7785958871abb74487a24357149c79a33
Parents: 4bd7231
Author: Tibor17 <tibor17@lycos.com>
Authored: Mon Jul 13 23:31:36 2015 +0200
Committer: Tibor17 <tibor17@lycos.com>
Committed: Thu Jul 23 23:28:09 2015 +0200

----------------------------------------------------------------------
 .../booterclient/lazytestprovider/TestProvidingInputStream.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/a83675e7/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestProvidingInputStream.java
----------------------------------------------------------------------
diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestProvidingInputStream.java
b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestProvidingInputStream.java
index eb1ab03..fd7d162 100644
--- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestProvidingInputStream.java
+++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestProvidingInputStream.java
@@ -113,8 +113,8 @@ public class TestProvidingInputStream
                 String currentElement = testItemQueue.poll();
                 if ( currentElement != null )
                 {
-                    currentBuffer = encodeStringForForkCommunication( currentElement );
-                    buffer = currentBuffer;
+                    buffer = encodeStringForForkCommunication( currentElement );
+                    currentBuffer = buffer;
                     currentPos = 0;
                 }
                 else


Mime
View raw message