diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-12-03 23:48:21 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-12-03 23:48:21 -0800 |
commit | a21253f54359b4714eeff986d5c1394b0a46a182 (patch) | |
tree | 679cb5628b3f3f87811013d4505d63e4007ef62f /src | |
parent | 2d87057cde5fa734a0e0935be74a315479469a90 (diff) | |
parent | 1071d0ca86e21028efc1d51447935573b9f8490a (diff) | |
download | scala-a21253f54359b4714eeff986d5c1394b0a46a182.tar.gz scala-a21253f54359b4714eeff986d5c1394b0a46a182.tar.bz2 scala-a21253f54359b4714eeff986d5c1394b0a46a182.zip |
Merge pull request #3215 from retronym/ticket/7373
SI-7373 Make the constructor of Vector non-public
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/collection/immutable/Vector.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/immutable/Vector.scala b/src/library/scala/collection/immutable/Vector.scala index 0a100578c0..b689bfdfd5 100644 --- a/src/library/scala/collection/immutable/Vector.scala +++ b/src/library/scala/collection/immutable/Vector.scala @@ -59,7 +59,7 @@ object Vector extends IndexedSeqFactory[Vector] { * @define mayNotTerminateInf * @define willNotTerminateInf */ -final class Vector[+A](private[collection] val startIndex: Int, private[collection] val endIndex: Int, focus: Int) +final class Vector[+A] private[immutable] (private[collection] val startIndex: Int, private[collection] val endIndex: Int, focus: Int) extends AbstractSeq[A] with IndexedSeq[A] with GenericTraversableTemplate[A, Vector] |