Skip to content
Browse files

formatting

  • Loading branch information...
1 parent f13b913 commit 0e22ef3a439c5ad199f9f3c5d3e4584586eb4711 @fehguy fehguy committed Mar 18, 2013
View
17 ...les/swagger-jaxrs/src/test/scala/com/wordnik/test/swagger/core/testdata/SampleInput.scala
@@ -1,19 +1,16 @@
package com.wordnik.test.swagger.core.testdata
-import javax.xml.bind.annotation.XmlRootElement._
-import reflect.BeanProperty
-import javax.xml.bind.annotation.XmlElement._
import javax.xml.bind.annotation.{XmlAccessType, XmlAccessorType, XmlElement, XmlRootElement}
-import annotation.target.field
+
+import scala.reflect.BeanProperty
+
+import scala.annotation.target.field
@XmlRootElement(name = "sampleInput")
@XmlAccessorType(XmlAccessType.NONE)
case class SampleInput (
- @(XmlElement @field)(name = "name") @BeanProperty
- var name: String,
-
- @(XmlElement @field)(name = "value") @BeanProperty
- var value: String
-){
+ @(XmlElement @field)(name = "name") @BeanProperty var name: String,
+ @(XmlElement @field)(name = "value") @BeanProperty var value: String
+) {
def this() = this(null,null)
}

0 comments on commit 0e22ef3

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