From 4a0d047e83141d3ebe48a2bf4ea58e1192a01333 Mon Sep 17 00:00:00 2001 From: pants Date: Mon, 21 Sep 2026 14:16:22 -0700 Subject: init --- linter/TestFile.txt | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 linter/TestFile.txt (limited to 'linter/TestFile.txt') diff --git a/linter/TestFile.txt b/linter/TestFile.txt new file mode 100644 index 0000000..76a8979 --- /dev/null +++ b/linter/TestFile.txt @@ -0,0 +1,89 @@ +package com.example; + +public class Example { + public static void main(String[] args) { + int x = 5; + while (x < 10) { + System.out.println("Hello, world!"); + break; + } + for (int i = 0; i < 10; i++) { + if (i % 2 == 0) { + continue; + } else { + System.out.println(i); + } + } + try { + throw new Exception("Test"); + } catch (Exception e) { + System.out.println("Caught an exception: " + e.getMessage()); + } finally { + System.out.println("Finally block executed."); + } + for (int j = 0; j < 100; j++) { + if (j % 2 == 0) { + break; + } else { + System.out.println(j); + } + } + while (x > 5) { + System.out.println("Hello, world!"); + break; + } + if (x % 2 == 0) { + continue; + } else { + System.out.println(x); + } + for (int k = 0; k < 1000; k++) { + if (k % 2 == 0) { + break; + } else { + System.out.println(k); + } + } + while (x > 5) { + System.out.println("Hello, world!"); + break; + } + if (x % 2 == 0) { + continue; + } else { + System.out.println(x); + } + for (int l = 0; l < 10000; l++) { + if (l % 2 == 0) { + break; + } else { + System.out.println(l); + } + } + while (x > 5) { + System.out.println("Hello, world!"); + break; + } + if (x % 2 == 0) { + continue; + } else { + System.out.println(x); + } + for (int m = 0; m < 100000; m++) { + if (m % 2 == 0) { + break; + } else { + System.out.println(m); + } + } + while (x > 5) { + System.out.println("Hello, world!"); + break; + } + if (x % 2 == 0) { + continue; + } else { + System.out.println(x); + } + } +} -- cgit v1.2.3