Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

[PIRK-19] Further restructuring in schema loading. #28

Closed
wants to merge 2 commits into from

Conversation

tellison
Copy link
Member

  • Additional re-factoring of the query schema loading code.
  • Pull out XML document parsing to helper methods.
  • Narrowing of exception type thrown by data partitioner methods.

 - Additional re-factoring of the query schema loading code.
 - Pull out XML document parsing to helper methods.
 - Narrowing of exception type thrown by data partitioner methods.
Document doc;
try
{
DocumentBuilder dBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
Copy link
Member

Choose a reason for hiding this comment

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

can this be made try (DocumentBuilder .....) ?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, the DocumentBuilder does not need to (cannot) be closed.

@ellisonanne
Copy link
Contributor

+1

@ellisonanne
Copy link
Contributor

Are you ready for this to be merged?

@tellison
Copy link
Member Author

@ellisonanne yes, this is ready to merge pls.

There may be minor changes but this is the bulk of the clean-up restructuring I intend to do right now.

@asfgit asfgit closed this in c557fff Jul 28, 2016
asfgit pushed a commit that referenced this pull request Jul 28, 2016
@tellison tellison deleted the pirk-19 branch August 18, 2016 14:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants