Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Whitespace fix.

  • Loading branch information...
commit b6313c3db8876de604907945c9f9fb0c31d47613 1 parent 2c45ad9
@ncreep authored
View
6 src/main/scala/com/codecommit/antixml/zipper/PathTransformer.scala
@@ -36,7 +36,7 @@ private[antixml] case class PathTransformer(source: Group[Node]) {
def shiftRight(path: ZipperPath): Option[ZipperPath] = {
shiftSideways(path, +1)
}
-
+
/** Tries to shift the path sideways by the given increment. */
private def shiftSideways(path: ZipperPath, increment: Int): Option[ZipperPath] = {
assert(!path.isEmpty, "Cannot shift an empty path.")
@@ -52,7 +52,7 @@ private[antixml] case class PathTransformer(source: Group[Node]) {
val newLoc = path(end) + increment
- if (currLevel.indices.contains(newLoc)) Some(path.updated(end, newLoc))
- else None
+ if (currLevel.indices.contains(newLoc)) Some(path.updated(end, newLoc))
+ else None
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.