From 8b481ec08efa60d462897a98bec3f6761c2933d1 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Fri, 3 May 2024 17:50:02 -0600 Subject: Move creating temporaries to Expression statements in BoilVisitor --- boil/TypeFactory.java | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'boil/TypeFactory.java') diff --git a/boil/TypeFactory.java b/boil/TypeFactory.java index d5b61f3..224d8a3 100644 --- a/boil/TypeFactory.java +++ b/boil/TypeFactory.java @@ -31,21 +31,4 @@ public class TypeFactory { return alias; } - public String retrieveRecentList(int x) { - /** - * Given int x, retrieve a space-delimited - * list of the x most recent entries. - */ - String rtn = ""; - if (x > 0) { - rtn += String.format("t.%d", - type_num-x); - for (int i = type_num-(x-1); i < type_num; ++i) { - rtn += String.format(" t.%d", - i); - } - } - - return rtn; - } } -- cgit v1.2.3