See gh-28501
This commit is contained in:
Leo Li
2021-11-02 14:02:43 +08:00
committed by Stephane Nicoll
parent 7ad60df844
commit 73e9c355f1
3 changed files with 7 additions and 7 deletions
@@ -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.