Skip to content

Commit 4a09092

Browse files
committed
Polish Javadoc
1 parent e187a42 commit 4a09092

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

spring-expression/src/main/java/org/springframework/expression/PropertyAccessor.java

Lines changed: 8 additions & 6 deletions
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-2019 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.
@@ -20,17 +20,19 @@
2020

2121
/**
2222
* A property accessor is able to read from (and possibly write to) an object's properties.
23-
* This interface places no restrictions, and so implementors are free to access properties
23+
*
24+
* <p>This interface places no restrictions, and so implementors are free to access properties
2425
* directly as fields or through getters or in any other way they see as appropriate.
2526
*
2627
* <p>A resolver can optionally specify an array of target classes for which it should be
2728
* called. However, if it returns {@code null} from {@link #getSpecificTargetClasses()},
2829
* it will be called for all property references and given a chance to determine if it
2930
* can read or write them.
3031
*
31-
* <p>Property resolvers are considered to be ordered and each will be called in turn.
32-
* The only rule that affects the call order is that any naming the target class directly
33-
* in {@link #getSpecificTargetClasses()} will be called first, before the general resolvers.
32+
* <p>Property resolvers are considered to be ordered, and each will be called in turn.
33+
* The only rule that affects the call order is that any resolver naming the target
34+
* class directly in {@link #getSpecificTargetClasses()} will be called first, before
35+
* the general resolvers.
3436
*
3537
* @author Andy Clement
3638
* @since 3.0
@@ -39,7 +41,7 @@ public interface PropertyAccessor {
3941

4042
/**
4143
* Return an array of classes for which this resolver should be called.
42-
* <p>>Returning {@code null} indicates this is a general resolver that
44+
* <p>Returning {@code null} indicates this is a general resolver that
4345
* can be called in an attempt to resolve a property on any type.
4446
* @return an array of classes that this resolver is suitable for
4547
* (or {@code null} if a general resolver)

spring-test/src/main/java/org/springframework/test/util/MetaAnnotationUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ private static void assertNonEmptyAnnotationTypeArray(Class<?>[] annotationTypes
255255
* <li>composedAnnotation: {@code null}</li>
256256
* <li>annotation: instance of the {@code Transactional} annotation</li>
257257
* </ul>
258-
* <pre style="code">
258+
* <p><pre style="code">
259259
* &#064;Transactional
260260
* &#064;ContextConfiguration({"/test-datasource.xml", "/repository-config.xml"})
261261
* public class TransactionalTests { }
@@ -269,7 +269,7 @@ private static void assertNonEmptyAnnotationTypeArray(Class<?>[] annotationTypes
269269
* <li>composedAnnotation: instance of the {@code RepositoryTests} annotation</li>
270270
* <li>annotation: instance of the {@code Transactional} annotation</li>
271271
* </ul>
272-
* <pre style="code">
272+
* <p><pre style="code">
273273
* &#064;Transactional
274274
* &#064;ContextConfiguration({"/test-datasource.xml", "/repository-config.xml"})
275275
* &#064;Retention(RetentionPolicy.RUNTIME)

0 commit comments

Comments
 (0)