From 38709f0de0ddd66e35a9d9995e98c05ab3a0b17a Mon Sep 17 00:00:00 2001 From: Jan-Niclas Loosen Date: Tue, 7 Jan 2025 16:05:38 +0100 Subject: [PATCH] Remove duplicated code --- boa/aufgabe_01_b.boa | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/boa/aufgabe_01_b.boa b/boa/aufgabe_01_b.boa index f506a1c..6eec54f 100644 --- a/boa/aufgabe_01_b.boa +++ b/boa/aufgabe_01_b.boa @@ -19,18 +19,6 @@ statement_counter := visitor { } }; - -visit(p, visitor { - before node: CodeRepository -> { - for (minus_year: int=22; minus_year >= 0; minus_year--) { - cur_date = addyear(now(), -minus_year); - snapshot := getsnapshot(node, cur_date); - foreach (i: int; def(snapshot[i])) - visit(snapshot[i], statement_counter); - } - } -}); - visit(p, visitor { before node: CodeRepository -> { for (minus_year: int=22; minus_year >= 0; minus_year--) {