Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fehguy committed Mar 19, 2013
1 parent f13b913 commit 0e22ef3
Showing 1 changed file with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -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.