From 24f2a3d73101e9e3c4f845f413f7a6dc2ac452af Mon Sep 17 00:00:00 2001 From: Rex Kerr Date: Fri, 31 Jan 2014 20:27:37 -0800 Subject: SI-4997 deprecate StringLike.linesIterator for StringLike.lines Deprecated. lines is by far more consistent with the rest of the naming in the library. --- src/library/scala/collection/immutable/StringLike.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'src/library') 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) -- cgit v1.2.3