1
2
3
4
5
6
7
8 package com.puppycrawl.tools.checkstyle.checks.regexp.regexpmultiline;
9
10
11 class Example2 {
12 void testMethod1() {
13
14 System.out.print("Example");
15
16 System.err.println("Example");
17 System
18 .out.print("Example");
19 System
20 .err.println("Example");
21 System.
22 out.print("Example");
23 System.
24 err.println("Example");
25 }
26
27 void testMethod2() {
28
29 System.out.println("Test #1: this is a test string");
30
31 System.out.println("TeSt #2: This is a test string");
32
33 System.out.println("TEST #3: This is a test string");
34 int i = 5;
35
36 System.out.println("Value of i: " + i);
37
38 System.out.println("Test #4: This is a test string");
39
40 System.out.println("TEst #5: This is a test string");
41 }
42 }
43