Skip to content

Commit b488ae6

Browse files
committed
removed misleading "throws IllegalStateException" declaration
Issue: SPR-9561
1 parent aeef8c8 commit b488ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.springframework.core/src/main/java/org/springframework/core/io/AbstractResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public Resource createRelative(String relativePath) throws IOException {
170170
* This implementation always returns <code>null</code>,
171171
* assuming that this resource type does not have a filename.
172172
*/
173-
public String getFilename() throws IllegalStateException {
173+
public String getFilename() {
174174
return null;
175175
}
176176

0 commit comments

Comments
 (0)