Skip to content

Commit f06ebcb

Browse files
committed
Switch to tabs, and adjust tabsizing in asciidoctor.
1 parent 5178c52 commit f06ebcb

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ listing (from `src/main/java/com/example/integration/IntegrationApplication.java
148148
the application file:
149149

150150
====
151-
[source,java]
151+
[source,java,tabsize=2]
152152
----
153153
include::complete/src/main/java/com/example/integration/IntegrationApplication.java[]
154154
----
@@ -206,7 +206,7 @@ Examine the `complete` project and you will see a test case, in
206206
`src/test/java/com/example/integration/FlowTests.java`:
207207

208208
====
209-
[source,java]
209+
[source,java,tabsize=2]
210210
----
211211
include::complete/src/test/java/com/example/integration/FlowTests.java[]
212212
----

complete/src/main/java/com/example/integration/IntegrationApplication.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
@SpringBootApplication
99
@ImportResource("/integration/integration.xml")
1010
public class IntegrationApplication {
11-
public static void main(String[] args) throws Exception {
12-
ConfigurableApplicationContext ctx = new SpringApplication(IntegrationApplication.class).run(args);
13-
System.out.println("Hit Enter to terminate");
14-
System.in.read();
15-
ctx.close();
16-
}
11+
public static void main(String[] args) throws Exception {
12+
ConfigurableApplicationContext ctx = new SpringApplication(IntegrationApplication.class).run(args);
13+
System.out.println("Hit Enter to terminate");
14+
System.in.read();
15+
ctx.close();
16+
}
1717

1818
}

complete/src/test/java/com/example/integration/FlowTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
import com.rometools.rome.feed.synd.SyndEntryImpl;
1818

19-
@SpringBootTest({ "auto.startup=false", // we don't want to start the real feed
20-
"feed.file.name=Test" }) // use a different file
19+
@SpringBootTest({ "auto.startup=false", // we don't want to start the real feed
20+
"feed.file.name=Test" }) // use a different file
2121
public class FlowTests {
2222

2323
@Autowired

0 commit comments

Comments
 (0)