Skip to content

fix deprecation warnings #11

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

Closed
SethTisue opened this issue Mar 19, 2017 · 0 comments · Fixed by #16
Closed

fix deprecation warnings #11

SethTisue opened this issue Mar 19, 2017 · 0 comments · Fixed by #16

Comments

@SethTisue
Copy link
Member

[warn] /home/travis/build/scala/scala-parallel-collections/core/src/main/scala/scala/collection/parallel/mutable/ParTrieMap.scala:78: method readRoot in class TrieMap is deprecated (since 2.12.0): this method will be made private
[warn]     val in = ctrie.readRoot()
[warn]                    ^
[warn] /home/travis/build/scala/scala-parallel-collections/core/src/main/scala/scala/collection/parallel/package.scala:84: trait ThrowableOps in package parallel is deprecated (since 2.11.0): this trait will be removed
[warn]     implicit def throwable2ops(self: Throwable) = new ThrowableOps {
[warn]                                                       ^
[warn] /home/travis/build/scala/scala-parallel-collections/core/src/main/scala/scala/collection/parallel/package.scala:86: class CompositeThrowable in package parallel is deprecated (since 2.11.0): this class will be removed.
[warn]         case (self: CompositeThrowable, that: CompositeThrowable) => new CompositeThrowable(self.throwables ++ that.throwables)
[warn]                                                                          ^
[warn] /home/travis/build/scala/scala-parallel-collections/core/src/main/scala/scala/collection/parallel/package.scala:87: class CompositeThrowable in package parallel is deprecated (since 2.11.0): this class will be removed.
[warn]         case (self: CompositeThrowable, _) => new CompositeThrowable(self.throwables + that)
[warn]                                                   ^
[warn] /home/travis/build/scala/scala-parallel-collections/core/src/main/scala/scala/collection/parallel/package.scala:88: class CompositeThrowable in package parallel is deprecated (since 2.11.0): this class will be removed.
[warn]         case (_, that: CompositeThrowable) => new CompositeThrowable(that.throwables + self)
[warn]                                                   ^
[warn] /home/travis/build/scala/scala-parallel-collections/core/src/main/scala/scala/collection/parallel/package.scala:89: class CompositeThrowable in package parallel is deprecated (since 2.11.0): this class will be removed.
[warn]         case _ => new CompositeThrowable(Set(self, that))
[warn]                       ^
[warn] 6 warnings found
SethTisue added a commit to SethTisue/scala-parallel-collections that referenced this issue Mar 20, 2017
SethTisue added a commit to SethTisue/scala-parallel-collections that referenced this issue Apr 4, 2017
fixes scala#11

bump Scala version so we get scala/scala#5788

also bump version to 0.1.2-SNAPSHOT since we've already published
0.1.1
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 a pull request may close this issue.

1 participant