mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-05-03 03:43:54 +01:00
Polish
See gh-28501
This commit is contained in:
+5
-5
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -132,10 +132,10 @@ class ClassLoaderFilesTests {
|
||||
toAdd.addFile("a", "myfile2", file2);
|
||||
toAdd.addFile("b", "myfile3", file3);
|
||||
this.files.addAll(toAdd);
|
||||
Iterator<SourceDirectory> sourceDirectoryies = this.files.getSourceDirectories().iterator();
|
||||
SourceDirectory sourceDirectory1 = sourceDirectoryies.next();
|
||||
SourceDirectory sourceDirectory2 = sourceDirectoryies.next();
|
||||
assertThat(sourceDirectoryies.hasNext()).isFalse();
|
||||
Iterator<SourceDirectory> sourceDirectories = this.files.getSourceDirectories().iterator();
|
||||
SourceDirectory sourceDirectory1 = sourceDirectories.next();
|
||||
SourceDirectory sourceDirectory2 = sourceDirectories.next();
|
||||
assertThat(sourceDirectories.hasNext()).isFalse();
|
||||
assertThat(sourceDirectory1.getName()).isEqualTo("a");
|
||||
assertThat(sourceDirectory2.getName()).isEqualTo("b");
|
||||
assertThat(sourceDirectory1.getFiles()).containsOnly(file1, file2);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[[data.whats-next]]
|
||||
== What to Read Next
|
||||
You should now have a feeling for how to use Spring Boot with various data technologies.
|
||||
From here, you can read about Spring Boot's support for various <<messaging#messaging, messaging technolgoies>> and how to enable them in your application.
|
||||
From here, you can read about Spring Boot's support for various <<messaging#messaging, messaging technologies>> and how to enable them in your application.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[[messaging.whats-next]]
|
||||
== What to Read Next
|
||||
The next section describes how to enable <<io#io, IO capabilities>> in your applicaiton.
|
||||
The next section describes how to enable <<io#io, IO capabilities>> in your application.
|
||||
You can read about <<io#io.caching, caching>>, <<io#io.email, mail>>, <<io#io.validation, validation>>, <<io#io.rest-client, rest clients>> and more in this section.
|
||||
Reference in New Issue
Block a user