diff options
author | Rex Kerr <ichoran@gmail.com> | 2014-01-31 20:27:37 -0800 |
---|---|---|
committer | Rex Kerr <ichoran@gmail.com> | 2014-01-31 20:27:37 -0800 |
commit | 24f2a3d73101e9e3c4f845f413f7a6dc2ac452af (patch) | |
tree | b5d362fc6610139c8fa06457f75a1067a0ab625c /src | |
parent | 624e668acfead08289078662d43d281b7b445d71 (diff) | |
download | scala-24f2a3d73101e9e3c4f845f413f7a6dc2ac452af.tar.gz scala-24f2a3d73101e9e3c4f845f413f7a6dc2ac452af.tar.bz2 scala-24f2a3d73101e9e3c4f845f413f7a6dc2ac452af.zip |
SI-4997 deprecate StringLike.linesIterator for StringLike.lines
Deprecated. lines is by far more consistent with the rest of the naming in the library.
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/collection/immutable/StringLike.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/scala/collection/immutable/StringLike.scala b/src/library/scala/collection/immutable/StringLike.scala index 43d46cf4d0..8e1d950d00 100644 --- a/src/library/scala/collection/immutable/StringLike.scala +++ b/src/library/scala/collection/immutable/StringLike.scala @@ -131,6 +131,7 @@ self => * end characters, i.e. apply `.stripLineEnd` to all lines * returned by `linesWithSeparators`. */ + @deprecated("Use `lines` instead.","2.11.0") def linesIterator: Iterator[String] = linesWithSeparators map (line => new WrappedString(line).stripLineEnd) |