Skip to content

Commit

Permalink
Merged in PAYARA-3114-5.183-Maintenance (pull request payara#515)
Browse files Browse the repository at this point in the history
PAYARA-3114 - 5.183 Maintenance
  • Loading branch information
Pandrex247 authored and Susan Rai committed Oct 11, 2018
2 parents 4a4f4e5 + 7b8a620 commit 90fecf0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -24,3 +24,4 @@ nb-configuration.xml
appserver/extras/arquillian-containers/payara-common/dependency-reduced-pom.xml
/nucleus/payara-modules/service-exemplar/nbproject/
/nucleus/admin/server-mgmt/nbproject/
appserver/tests/quicklook/quicklook_summary.txt
5 changes: 0 additions & 5 deletions appserver/tests/quicklook/quicklook_summary.txt

This file was deleted.

Expand Up @@ -48,7 +48,7 @@
import java.util.Map;

/**
* Implementation of Scope from Opentracing.
* Implementation of Scope from OpenTracing.
*
* @author jonathan coustick
* @since 5.183
Expand All @@ -70,7 +70,8 @@ public void close() {
if (allSpans.get(span)){
span.finish();
}
allSpans.remove(span);//prevents scope holding on a reference to old spans
// Prevent scope holding on a reference to old spans
keys.remove();
}
}

Expand All @@ -79,7 +80,7 @@ public Span span() {
return currentSpan;
}

//package private - used only by ScopeManager
// Package private - used only by ScopeManager
void setSpan(Span span, Boolean finishOnClose){
allSpans.put(span, finishOnClose);
currentSpan = span;
Expand Down

0 comments on commit 90fecf0

Please sign in to comment.