Skip to content

Commit

Permalink
Last bit of cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dpp committed Apr 27, 2011
1 parent 5149f8d commit 38365fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/webkit/src/main/scala/net/liftweb/http/S.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2399,7 +2399,7 @@ for {
}

def formFuncName: String = if (Props.testMode && !disableTestFuncNames_?) {
val bump: Long = ((_formGroup.is openOr 0) + 1000L) * 10000L
val bump: Long = ((_formGroup.is openOr 0) + 1000L) * 100000L
val num: Int = formItemNumber.is
formItemNumber.set(num + 1)
import java.text._
Expand All @@ -2408,7 +2408,7 @@ for {
"f" + prefix + "_" + Helpers.hashHex((new Exception).getStackTrace.toList.filter(notLiftOrScala).take(2).map(_.toString).mkString(","))
} else {
_formGroup.is match {
case Full(x) => Helpers.nextFuncName(x.toLong * 10000L)
case Full(x) => Helpers.nextFuncName(x.toLong * 100000L)
case _ => Helpers.nextFuncName
}
}
Expand Down

0 comments on commit 38365fc

Please sign in to comment.