From fe667f05da515ba1a543459135877ae3682d44c6 Mon Sep 17 00:00:00 2001 From: LadyCailin Date: Thu, 1 Feb 2024 22:20:54 +0100 Subject: [PATCH] checkstyle --- .../core/functions/BasicLogic.java | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/main/java/com/laytonsmith/core/functions/BasicLogic.java b/src/main/java/com/laytonsmith/core/functions/BasicLogic.java index 93aea1642..5dc54e760 100644 --- a/src/main/java/com/laytonsmith/core/functions/BasicLogic.java +++ b/src/main/java/com/laytonsmith/core/functions/BasicLogic.java @@ -2753,23 +2753,24 @@ public FunctionSignatures getSignatures() { public ExampleScript[] examples() throws ConfigCompileException { return new ExampleScript[]{ new ExampleScript("Demonstrates why equals doesn't always work", """ - @d1 = 0.8; - @d2 = 0; - for(@i = 0, @i < 8, @i++) { + @d1 = 0.8; + @d2 = 0; + for(@i = 0, @i < 8, @i++) { @d2 += 0.1; - } - msg(@d1); - msg(@d2); - msg(@d1 == @d2);"""), + } + msg(@d1); + msg(@d2); + msg(@d1 == @d2);"""), new ExampleScript("Same example, this time with a precision.", """ - @d1 = 0.8; - @d2 = 0; - for(@i = 0, @i < 8, @i++) { + @d1 = 0.8; + @d2 = 0; + for(@i = 0, @i < 8, @i++) { @d2 += 0.1; - } - msg(@d1); - msg(@d2); - msg(equals_epsilon(@d1, @d2, 0.0001));"""),}; + } + msg(@d1); + msg(@d2); + msg(equals_epsilon(@d1, @d2, 0.0001));"""), + }; } @Override