Skip to content
This repository
Browse code

Mapper: ManyToMany: delete some obsolete comments

  • Loading branch information...
commit 9d8bd7a9a4e350cddb3064c3de61d7a0e2da731f 1 parent 9f43213
nafg authored May 24, 2011
13  persistence/mapper/src/main/scala/net/liftweb/mapper/ManyToMany.scala
@@ -124,13 +124,8 @@ trait ManyToMany extends BaseKeyedMapper {
124 124
 
125 125
     def all = children
126 126
 
127  
-    // 2.7
128  
-    //def readOnly = all
129  
-
130 127
     def length = children.length
131  
-    // 2.7
132  
-    //def elements = children.elements
133  
-    // 2.8
  128
+
134 129
     def iterator = children.iterator
135 130
 
136 131
     protected def childAt(n: Int) = children(n)
@@ -138,9 +133,6 @@ trait ManyToMany extends BaseKeyedMapper {
138 133
     def indexOf(e: T2) =
139 134
       children.indexWhere(e eq)
140 135
 
141  
-    // 2.7
142  
-    // def insertAll(n: Int, iter: Iterable[T2]) {
143  
-    // 2.8
144 136
     def insertAll(n: Int, traversable: Traversable[T2]) {
145 137
       val ownedJoins = traversable map own
146 138
       val n2 = joins.indexWhere(isJoinForChild(children(n)))
@@ -150,9 +142,6 @@ trait ManyToMany extends BaseKeyedMapper {
150 142
       _joins = before ++ ownedJoins ++ after
151 143
     }
152 144
 
153  
-    // 2.7
154  
-    // def +:(elem: T2) = {
155  
-    // 2.8
156 145
     def +=:(elem: T2) = {
157 146
       _joins ::= own(elem)
158 147
       this

0 notes on commit 9d8bd7a

Please sign in to comment.
Something went wrong with that request. Please try again.