Skip to content

Deprecate scala.xml.persistent #330

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
Aug 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import scala.collection.Iterator
*
* @author Burak Emir
*/
@deprecated("This class will be removed", "1.3.0")
abstract class CachedFileStorage(private val file1: File) extends Thread {

private val file2 = new File(file1.getParent, file1.getName + "$")
Expand Down
1 change: 1 addition & 0 deletions shared/src/main/scala/scala/xml/persistent/Index.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ package persistent
/**
* an Index returns some unique key that is part of a node
*/
@deprecated("This class will be removed", "1.3.0")
abstract class Index[A] extends Function1[Node, A] {}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import java.io.File
*
* @author Burak Emir
*/
@deprecated("This class will be removed", "1.3.0")
class SetStorage(file: File) extends CachedFileStorage(file) {

private val theSet = mutable.HashSet[Node]()
Expand Down