Skip to content

Commit

Permalink
copy without braces: to minify diff to odb (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpollmeier authored Jul 8, 2024
1 parent 824d66e commit 49697a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class DomainClassesGenerator(schema: Schema) {
| override def storedRef_=(stored: Option[flatgraph.GNode]): Unit = this._storedRef = stored.orNull.asInstanceOf[StoredNodeType]
| def isValidOutNeighbor(edgeLabel: String, n: NewNode): Boolean
| def isValidInNeighbor(edgeLabel: String, n: NewNode): Boolean
| def copy(): this.type
| def copy: this.type
|}
|""".stripMargin
)
Expand Down Expand Up @@ -476,7 +476,7 @@ class DomainClassesGenerator(schema: Schema) {
"\n}"
)}
|
| override def copy(): this.type = {
| override def copy: this.type = {
| val newInstance = new New${nodeType.className}
| $copyFieldsImpl
| newInstance.asInstanceOf[this.type]
Expand Down

0 comments on commit 49697a8

Please sign in to comment.