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