Skip to content

Commit 9f238c9

Browse files
committed
Polishing
1 parent 50177b1 commit 9f238c9

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

spring-context-indexer/src/main/java/org/springframework/context/index/processor/StereotypesProvider.java

+3-2
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-2022 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.
@@ -22,7 +22,8 @@
2222

2323
/**
2424
* Provide the list of stereotypes that match an {@link Element}.
25-
* If an element has one more stereotypes, it is referenced in the index
25+
*
26+
* <p>If an element has one or more stereotypes, it is referenced in the index
2627
* of candidate components and each stereotype can be queried individually.
2728
*
2829
* @author Stephane Nicoll

spring-core/src/main/java/org/springframework/core/io/Resource.java

+3-3
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-2022 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.
@@ -99,14 +99,14 @@ default boolean isFile() {
9999
/**
100100
* Return a URL handle for this resource.
101101
* @throws IOException if the resource cannot be resolved as URL,
102-
* i.e. if the resource is not available as descriptor
102+
* i.e. if the resource is not available as a descriptor
103103
*/
104104
URL getURL() throws IOException;
105105

106106
/**
107107
* Return a URI handle for this resource.
108108
* @throws IOException if the resource cannot be resolved as URI,
109-
* i.e. if the resource is not available as descriptor
109+
* i.e. if the resource is not available as a descriptor
110110
* @since 2.5
111111
*/
112112
URI getURI() throws IOException;

spring-jdbc/src/main/java/org/springframework/jdbc/support/SQLExceptionSubclassTranslator.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2022 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.
@@ -53,7 +53,7 @@
5353
* @author Juergen Hoeller
5454
* @since 2.5
5555
* @see java.sql.SQLTransientException
56-
* @see java.sql.SQLTransientException
56+
* @see java.sql.SQLNonTransientException
5757
* @see java.sql.SQLRecoverableException
5858
*/
5959
public class SQLExceptionSubclassTranslator extends AbstractFallbackSQLExceptionTranslator {

0 commit comments

Comments
 (0)