We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711cb4a commit bc78983Copy full SHA for bc78983
fbcore/src/main/java/com/facebook/common/internal/Throwables.java
@@ -187,7 +187,7 @@ public static Throwable getRootCause(Throwable throwable) {
187
*/
188
public static List<Throwable> getCausalChain(Throwable throwable) {
189
Preconditions.checkNotNull(throwable);
190
- List<Throwable> causes = new ArrayList<Throwable>(4);
+ List<Throwable> causes = new ArrayList<>(4);
191
while (throwable != null) {
192
causes.add(throwable);
193
throwable = throwable.getCause();
0 commit comments