Skip to content

JENA-1341: Fuseki jetty upgrade#251

Merged
asfgit merged 3 commits intoapache:masterfrom
afs:fuseki-jetty-upgrade
May 24, 2017
Merged

JENA-1341: Fuseki jetty upgrade#251
asfgit merged 3 commits intoapache:masterfrom
afs:fuseki-jetty-upgrade

Conversation

@afs
Copy link
Copy Markdown
Member

@afs afs commented May 22, 2017

Jetty dependency updates for Fuseki2 and Fuseki1.

// May be different from the URI used to access the resource
// e.g. 303 redirection, mapped URI redirection
private String baseURI ;
private boolean isClosed = false ;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe volatile, just in case?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary in this case because it is safe to call close on the wrapped InputStream anyway. The flag goes from false to true only. The flag is useful (e.g. debugging) but is safe without. (I don't like over using volatile on principle.)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, cool. I tend to be liberal with it, unless I am worried about a specific performance problem.

@asfgit asfgit merged commit 8269d25 into apache:master May 24, 2017
asfgit pushed a commit that referenced this pull request May 24, 2017
@afs afs deleted the fuseki-jetty-upgrade branch May 24, 2017 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants