summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2006-11-21 15:45:41 +0000
committerPhilipp Haller <hallerp@gmail.com>2006-11-21 15:45:41 +0000
commit1b1040e91d9ca50edca6ed256bb5eaeb86b8cda2 (patch)
treecc9cc76a80521c320f91f33909280ccdbdb6a1b2 /src
parent87d1a060ea818fde4be4b102860ccaddd05f504f (diff)
downloadscala-1b1040e91d9ca50edca6ed256bb5eaeb86b8cda2.tar.gz
scala-1b1040e91d9ca50edca6ed256bb5eaeb86b8cda2.tar.bz2
scala-1b1040e91d9ca50edca6ed256bb5eaeb86b8cda2.zip
Removed some commented debug printlns from Byte...
Removed some commented debug printlns from BytePickle.
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/io/BytePickle.scala8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/library/scala/io/BytePickle.scala b/src/library/scala/io/BytePickle.scala
index ae5cd1a80c..831f4671d0 100644
--- a/src/library/scala/io/BytePickle.scala
+++ b/src/library/scala/io/BytePickle.scala
@@ -110,23 +110,17 @@ object BytePickle {
val pe = state.dict
pe.get(v) match {
case None =>
- //Console.println("" + v + " is new")
- //Console.println("writing DEF...")
val sPrime = refDef.appP(Def(), state.stream)
val l = pe.nextLoc()
- //Console.println("applying pickler to state " + sPrime)
val sPrimePrime = pa.appP(v, new PicklerState(sPrime, pe))
- //Console.println("updating dict (" + l + ") for " + v)
pe.update(v, l)
return sPrimePrime
case Some(l) =>
- //Console.println("writing REF...")
val sPrime = refDef.appP(Ref(), state.stream)
- //Console.println("writing location to state " + sPrime)
return new PicklerState(unat.appP(l, sPrime), pe)
}
}
@@ -193,10 +187,8 @@ object BytePickle {
def sequ[t,u](f: u => t, pa: SPU[t], k: t => SPU[u]): SPU[u] = new SPU[u] {
def appP(b: u, s: PicklerState): PicklerState = {
val a = f(b)
- //Console.println("pickling " + a + ", s: " + s.stream)
val sPrime = pa.appP(a, s)
val pb = k(a)
- //Console.println("pickling " + b + ", s: " + s.stream)
pb.appP(b, sPrime)
}
def appU(s: UnPicklerState): Pair[u, UnPicklerState] = {