Skip to content

Conversation

@gsvic
Copy link
Contributor

@gsvic gsvic commented May 7, 2020

No description provided.

@gsvic gsvic requested a review from Shelnutt2 May 7, 2020 13:59
@gsvic gsvic force-pushed the victorgiannakouris/ch1877/add-support-for-non-empty-domain-var-by-name branch 2 times, most recently from 9f00fc1 to d99068d Compare May 7, 2020 14:39
@gsvic gsvic requested a review from Shelnutt2 May 7, 2020 14:40
try (Domain domain = schema.getDomain()) {
long numDims = domain.getNDim();
for (long dimIdx = 0; dimIdx < numDims; ++dimIdx) {
Dimension dimension = domain.getDimension(dimIdx);
Copy link
Member

Choose a reason for hiding this comment

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

Does the dimension need to be inside a try for the autoclosure?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In fact no, this is a leftover from the old code. Fixed that.

@gsvic gsvic force-pushed the victorgiannakouris/ch1877/add-support-for-non-empty-domain-var-by-name branch from d99068d to 78541dc Compare May 7, 2020 14:49
@gsvic gsvic merged commit 26ca73d into master May 7, 2020
@gsvic gsvic deleted the victorgiannakouris/ch1877/add-support-for-non-empty-domain-var-by-name branch June 3, 2020 13:05
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