Skip to content

Commit

Permalink
Sources formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dotta committed Dec 15, 2018
1 parent 9bef954 commit 4dd951f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion internal/compiler-bridge/src/main/scala/xsbt/Analyzer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ final class Analyzer(val global: CallbackGlobal) extends LocateClassFile {
}
}

private def locatePlainClassFile(sym: Symbol, outputDir: File, separatorRequired: Boolean): Option[File] = {
private def locatePlainClassFile(sym: Symbol,
outputDir: File,
separatorRequired: Boolean): Option[File] = {
val classFile = fileForClass(outputDir, sym, separatorRequired)
if (classFile.exists()) Some(classFile) else None
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ private[sbt] object Analyze {
): File = {
IO.relativize(outputDir, realClassFile) match {
case Some(relativeClass) => JarUtils.ClassInJar(outputJar, relativeClass).toFile
case None => realClassFile
case None => realClassFile
}
}

Expand Down

0 comments on commit 4dd951f

Please sign in to comment.