You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2022/07/17 23:27:39 UTC

[freemarker] branch FREEMARKER-35 updated: (Removed testing code actually left there)

This is an automated email from the ASF dual-hosted git repository.

ddekany pushed a commit to branch FREEMARKER-35
in repository https://gitbox.apache.org/repos/asf/freemarker.git


The following commit(s) were added to refs/heads/FREEMARKER-35 by this push:
     new 6c98df1b (Removed testing code actually left there)
6c98df1b is described below

commit 6c98df1bc5d4c4f0c7c147768c36b153f4413aaf
Author: ddekany <dd...@apache.org>
AuthorDate: Mon Jul 18 01:27:25 2022 +0200

    (Removed testing code actually left there)
---
 src/main/java/freemarker/core/_TemporalUtils.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/freemarker/core/_TemporalUtils.java b/src/main/java/freemarker/core/_TemporalUtils.java
index 311bf987..4716d44c 100644
--- a/src/main/java/freemarker/core/_TemporalUtils.java
+++ b/src/main/java/freemarker/core/_TemporalUtils.java
@@ -439,7 +439,6 @@ public final class _TemporalUtils {
         if (SUPPORTED_TEMPORAL_CLASSES_ARE_FINAL) {
             return temporalClass;
         } else {
-            if (true) throw new AssertionError(); //!!T
             if (Instant.class.isAssignableFrom(temporalClass)) {
                 return Instant.class;
             } else if (LocalDate.class.isAssignableFrom(temporalClass)) {