Fix typos in code and documentation
See gh-31734
This commit is contained in:
committed by
Phillip Webb
parent
4bcec6e0ee
commit
dbfc6bded4
@@ -98,7 +98,7 @@ public class ImageArchive implements TarArchive {
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the create data of the archive.
|
||||
* Return the create date of the archive.
|
||||
* @return the create date
|
||||
*/
|
||||
public Instant getCreateDate() {
|
||||
|
||||
@@ -72,7 +72,7 @@ public final class VolumeName {
|
||||
* Factory method to create a new {@link VolumeName} with a random name.
|
||||
* @param prefix the prefix to use with the random name
|
||||
* @param randomLength the number of chars in the random part of the name
|
||||
* @return a randomly volume reference
|
||||
* @return a randomly named volume reference
|
||||
*/
|
||||
public static VolumeName random(String prefix, int randomLength) {
|
||||
return of(RandomString.generate(prefix, randomLength));
|
||||
|
||||
Reference in New Issue
Block a user