在校大学生一名 熟悉java/cpp
正在摸索JavaFX ing......

when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${((category.thumbnail)?length > 0)?s... [in template "themes/LIlGG_Sakura/category.ftl" at line 11, column 32] ~ Reached through: #nested [in template "themes/LIlGG_Sakura/header.ftl" in macro "header" at line 100, column 17] ~ Reached through: @header title="分类:${category.name!} -... [in template "themes/LIlGG_Sakura/category.ftl" at line 5, column 1] ---- Java stack trace (for programmers): ---- freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...] at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134) at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:481) at freemarker.core.EvalUtil.coerceModelToStringOrUnsupportedMarkup(EvalUtil.java:434) at freemarker.core.Expression.evalAndCoerceToStringOrUnsupportedMarkup(Expression.java:139) at freemarker.core.BuiltInForString.getTargetString(BuiltInForString.java:34) at freemarker.core.BuiltInForString._eval(BuiltInForString.java:29) at freemarker.core.Expression.eval(Expression.java:101) at freemarker.core.EvalUtil.compare(EvalUtil.java:113) at freemarker.core.ComparisonExpression.evalToBoolean(ComparisonExpression.java:78) at freemarker.core.BooleanExpression._eval(BooleanExpression.java:30) at freemarker.core.Expression.eval(Expression.java:101) at freemarker.core.ParentheticalExpression._eval(ParentheticalExpression.java:50) at freemarker.core.Expression.eval(Expression.java:101) at freemarker.core.BuiltInsForMultipleTypes$stringBI._eval(BuiltInsForMultipleTypes.java:765) at freemarker.core.Expression.eval(Expression.java:101) at freemarker.core.MethodCall._eval(MethodCall.java:55) at freemarker.core.Expression.eval(Expression.java:101) at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100) at freemarker.core.DollarVariable.accept(DollarVariable.java:63) at freemarker.core.Environment.visit(Environment.java:347) at freemarker.core.Environment.visit(Environment.java:353) at freemarker.core.Environment.visit(Environment.java:389) at freemarker.core.Environment.invokeNestedContent(Environment.java:633) at freemarker.cor