Skip to content

Commit 3f7e86e

Browse files
committed
Update Javadoc for Assert regarding Guava Preconditions
1 parent 5e24085 commit 3f7e86e

File tree

1 file changed

+7
-4
lines changed
  • spring-core/src/main/java/org/springframework/util

1 file changed

+7
-4
lines changed

spring-core/src/main/java/org/springframework/util/Assert.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -45,9 +45,12 @@
4545
* Assert.notNull(clazz, "The class must not be null");
4646
* Assert.isTrue(i > 0, "The value must be greater than zero");</pre>
4747
*
48-
* <p>Mainly for internal use within the framework; consider
49-
* <a href="https://commons.apache.org/proper/commons-lang/">Apache's Commons Lang</a>
50-
* for a more comprehensive suite of {@code String} utilities.
48+
* <p>Mainly for internal use within the framework; for a more comprehensive suite
49+
* of assertion utilities consider {@code org.apache.commons.lang3.Validate} from
50+
* <a href="https://commons.apache.org/proper/commons-lang/">Apache Commons Lang</a>,
51+
* Google Guava's
52+
* <a href="https://github.com/google/guava/wiki/PreconditionsExplained">Preconditions</a>,
53+
* or similar third-party libraries.
5154
*
5255
* @author Keith Donald
5356
* @author Juergen Hoeller

0 commit comments

Comments
 (0)