Skip to content

Commit def19d6

Browse files
committed
fix formatting
1 parent 75d0e0e commit def19d6

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

scex-core/src/main/scala/com/avsystem/scex/compiler/ScexCompiler.scala

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ trait ScexCompiler extends LoggingUtils {
9292
}
9393

9494
val settings: ScexSettings
95-
9695
protected def compilerSettings: Settings = settings
9796

9897
@volatile private var initialized = false
@@ -307,15 +306,15 @@ trait ScexCompiler extends LoggingUtils {
307306
compileExpression(exprDef).get.asInstanceOf[Expression[C, T]]
308307

309308
def getCompiledExpression[C <: ExpressionContext[_, _], T](
310-
profile: ExpressionProfile,
311-
expression: String,
312-
variableTypes: Map[String, TypeString[_]] = Map.empty,
313-
template: Boolean = true,
314-
header: String = ""
315-
)(implicit
316-
cti: ContextTypeInfo[C],
317-
tts: TypeString[T]
318-
): Expression[C, T] = {
309+
profile: ExpressionProfile,
310+
expression: String,
311+
variableTypes: Map[String, TypeString[_]] = Map.empty,
312+
template: Boolean = true,
313+
header: String = ""
314+
)(implicit
315+
cti: ContextTypeInfo[C],
316+
tts: TypeString[T]
317+
): Expression[C, T] = {
319318

320319
require(profile != null, "Profile cannot be null")
321320
require(expression != null, "Expression cannot be null")
@@ -328,15 +327,15 @@ trait ScexCompiler extends LoggingUtils {
328327
}
329328

330329
def getCompiledSetterExpression[C <: ExpressionContext[_, _], T](
331-
profile: ExpressionProfile,
332-
expression: String,
333-
template: Boolean = true,
334-
variableTypes: Map[String, TypeString[_]] = Map.empty,
335-
header: String = ""
336-
)(implicit
337-
cti: ContextTypeInfo[C],
338-
tts: TypeString[T]
339-
): Expression[C, Setter[T]] = {
330+
profile: ExpressionProfile,
331+
expression: String,
332+
template: Boolean = true,
333+
variableTypes: Map[String, TypeString[_]] = Map.empty,
334+
header: String = ""
335+
)(implicit
336+
cti: ContextTypeInfo[C],
337+
tts: TypeString[T]
338+
): Expression[C, Setter[T]] = {
340339

341340
require(profile != null, "Profile cannot be null")
342341
require(expression != null, "Expression cannot be null")

0 commit comments

Comments
 (0)