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

Refactored out Block, Tag, and Include setters to Lib #1

Closed
wants to merge 6 commits into from
Closed

Refactored out Block, Tag, and Include setters to Lib #1

wants to merge 6 commits into from

Conversation

revgum
Copy link

@revgum revgum commented May 25, 2012

Got rid of some duplication and did a little simplification of the Block, Tag, and Include setters. Test is passing properly.

includes[includeName] = new Include(includeName);
includes[includeName].sourceField = m3.group(0);
}
List<Object> vals = setBlocks(blocks, BLOCK_REG_EX.allMatches(source), source);
Copy link
Author

Choose a reason for hiding this comment

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

I dunno if this is the most elegant way to get multiple returns from a method.. seems hackish, but it suits the need. Ideas?

@revgum revgum closed this Apr 27, 2020
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

1 participant