From 4290b5640dc0b9c23b0d75d4d5cd2f9ee7b30ee9 Mon Sep 17 00:00:00 2001 From: Konrad Malawski Date: Mon, 21 Mar 2016 11:38:02 +0100 Subject: [PATCH] =htp #18615 rm comment on workaround in Scala 2.10 --- .../server/directives/FormFieldDirectives.scala | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/akka-http/src/main/scala/akka/http/scaladsl/server/directives/FormFieldDirectives.scala b/akka-http/src/main/scala/akka/http/scaladsl/server/directives/FormFieldDirectives.scala index ed5b6ebee8..2aba80c7da 100644 --- a/akka-http/src/main/scala/akka/http/scaladsl/server/directives/FormFieldDirectives.scala +++ b/akka-http/src/main/scala/akka/http/scaladsl/server/directives/FormFieldDirectives.scala @@ -37,22 +37,12 @@ trait FormFieldDirectives extends ToNameReceptacleEnhancements { /** * Extracts an HTTP form field from the request. * Rejects the request if the defined form field matcher(s) don't match. - * - * Due to a bug in Scala 2.10, invocations of this method sometimes fail to compile with an - * "too many arguments for method formField" or "type mismatch" error. - * - * As a workaround add an `import FormFieldDirectives.FieldMagnet` or use Scala 2.11.x. */ def formField(pdm: FieldMagnet): pdm.Out = pdm() /** * Extracts a number of HTTP form field from the request. * Rejects the request if the defined form field matcher(s) don't match. - * - * Due to a bug in Scala 2.10, invocations of this method sometimes fail to compile with an - * "too many arguments for method formFields" or "type mismatch" error. - * - * As a workaround add an `import FormFieldDirectives.FieldMagnet` or use Scala 2.11.x. */ def formFields(pdm: FieldMagnet): pdm.Out = pdm()