Skip to content

Use NodeSeq.fromSeq instead of new NodeSeq { val theSeq = ... } #81

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

Merged
merged 1 commit into from
Nov 1, 2015

Conversation

ashawley
Copy link
Member

Seems like NodeSeq.fromSeq was added in a3cf1ea in 2005 by Buraq Emir. It is used in only a few places in the code. Instead, code internally was more often using a constructor expression to instantiate a NodeSeq object.

@biswanaths
Copy link
Contributor

We are using the builder from the companion object rather than building on our own.

LGTM.

biswanaths added a commit that referenced this pull request Nov 1, 2015
Use NodeSeq.fromSeq instead of new NodeSeq { val theSeq = ... }
@biswanaths biswanaths merged commit 5e23968 into scala:master Nov 1, 2015
@ashawley ashawley deleted the use-nodeseq-constructor branch November 2, 2015 16:07
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.

2 participants