Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check for problematic SPARQL Update statement #811

Closed
wants to merge 3 commits into from

Conversation

osmandin
Copy link
Contributor

@osmandin osmandin commented Jun 4, 2015

}

final String insertStmt = updateStmt.substring(start, end);
final String[] insert = insertStmt.split(".+<[a-zA-Z]*>");
Copy link

Choose a reason for hiding this comment

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

Please add a comment that describes what you are intending to split here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe even precompile the regex and put a comment on that.

1) Fix PR omission

2) Add comments
Add catch block
@awoods
Copy link

awoods commented Jun 19, 2015

Resolved with: 74b6253

@awoods awoods closed this Jun 19, 2015
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.

None yet

3 participants