Repository: cxf
Updated Branches:
  refs/heads/master 1ae4d6dee -> 32d044afb


Stabilizing flaky HTrace test cases by relaxing the spans order matches. Minor 
checkstyle issue fix.


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/32d044af
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/32d044af
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/32d044af

Branch: refs/heads/master
Commit: 32d044afbe9c6bf4fd4ef829a71af3d1d949315e
Parents: 1ae4d6d
Author: reta <[email protected]>
Authored: Thu Jan 5 12:16:12 2017 -0500
Committer: reta <[email protected]>
Committed: Thu Jan 5 12:16:12 2017 -0500

----------------------------------------------------------------------
 .../apache/cxf/systest/jaxrs/tracing/htrace/IsTimelineEmpty.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/32d044af/systests/tracing/src/test/java/org/apache/cxf/systest/jaxrs/tracing/htrace/IsTimelineEmpty.java
----------------------------------------------------------------------
diff --git 
a/systests/tracing/src/test/java/org/apache/cxf/systest/jaxrs/tracing/htrace/IsTimelineEmpty.java
 
b/systests/tracing/src/test/java/org/apache/cxf/systest/jaxrs/tracing/htrace/IsTimelineEmpty.java
index b32e01b..9058288 100644
--- 
a/systests/tracing/src/test/java/org/apache/cxf/systest/jaxrs/tracing/htrace/IsTimelineEmpty.java
+++ 
b/systests/tracing/src/test/java/org/apache/cxf/systest/jaxrs/tracing/htrace/IsTimelineEmpty.java
@@ -30,7 +30,7 @@ public class IsTimelineEmpty extends 
TypeSafeMatcher<Iterable<? super TimelineAn
 
     @Override
     protected boolean matchesSafely(Iterable<? super TimelineAnnotation> 
annotations) {
-        return annotations == null|| !annotations.iterator().hasNext();
+        return annotations == null || !annotations.iterator().hasNext();
     }
     
     public static IsTimelineEmpty empty() {

Reply via email to