From 53a506f6bbc89c4752e3d4069fe09c213e8b96b0 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 23 May 2022 20:22:37 +0200 Subject: [PATCH] Polishing --- .../java/org/springframework/core/io/AbstractResource.java | 4 ++-- .../src/main/java/org/springframework/core/io/Resource.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/core/io/AbstractResource.java b/spring-core/src/main/java/org/springframework/core/io/AbstractResource.java index de327d7e1c..e7dafe7220 100644 --- a/spring-core/src/main/java/org/springframework/core/io/AbstractResource.java +++ b/spring-core/src/main/java/org/springframework/core/io/AbstractResource.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2022 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. @@ -50,7 +50,7 @@ public abstract class AbstractResource implements Resource { /** * This implementation checks whether a File can be opened, * falling back to whether an InputStream can be opened. - * This will cover both directories and content resources. + *

This will cover both directories and content resources. */ @Override public boolean exists() { diff --git a/spring-core/src/main/java/org/springframework/core/io/Resource.java b/spring-core/src/main/java/org/springframework/core/io/Resource.java index 708aef5550..1070232d48 100644 --- a/spring-core/src/main/java/org/springframework/core/io/Resource.java +++ b/spring-core/src/main/java/org/springframework/core/io/Resource.java @@ -86,7 +86,7 @@ public interface Resource extends InputStreamSource { /** * Determine whether this resource represents a file in a file system. - * A value of {@code true} strongly suggests (but does not guarantee) + *

A value of {@code true} strongly suggests (but does not guarantee) * that a {@link #getFile()} call will succeed. *

This is conservatively {@code false} by default. * @since 5.0