Skip to content

Commit 4f5d454

Browse files
committed
Javadoc: Empty Javadoc line before the 1st tag.
1 parent dfc375e commit 4f5d454

33 files changed

+117
-0
lines changed

src/main/java/org/apache/commons/beanutils/BaseDynaBeanMapDecorator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ public Object remove(final Object key) {
342342
/**
343343
* Returns the number properties in the decorated
344344
* {@link DynaBean}.
345+
*
345346
* @return The number of properties.
346347
*/
347348
@Override

src/main/java/org/apache/commons/beanutils/BeanComparator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ public int compare(final T o1, final T o2) {
147147
* Two {@code BeanComparator}'s are equals if and only if
148148
* the wrapped comparators and the property names to be compared
149149
* are equal.
150+
*
150151
* @param o Comparator to compare to
151152
* @return whether the comparators are equal or not
152153
*/
@@ -195,6 +196,7 @@ public String getProperty() {
195196

196197
/**
197198
* Hash code compatible with equals.
199+
*
198200
* @return the hash code for this comparator
199201
*/
200202
@Override

src/main/java/org/apache/commons/beanutils/BeanPredicate.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public class BeanPredicate implements Predicate {
4141
/**
4242
* Constructs a {@code BeanPredicate} that applies the given
4343
* {@code Predicate} to the named property value.
44+
*
4445
* @param propertyName the name of the property whose value is to be predicated,
4546
* not null
4647
* @param predicate the {@code Predicate} to be applied,
@@ -91,6 +92,7 @@ public boolean evaluate(final Object object) {
9192
/**
9293
* Gets the {@code Predicate} to be applied to the value of the named property
9394
* during {@link #evaluate}.
95+
*
9496
* @return {@code Predicate}, not null
9597
*/
9698
public Predicate getPredicate() {
@@ -100,6 +102,7 @@ public Predicate getPredicate() {
100102
/**
101103
* Gets the name of the property whose value is to be predicated.
102104
* in the evaluation.
105+
*
103106
* @return the property name, not null
104107
*/
105108
public String getPropertyName() {
@@ -109,6 +112,7 @@ public String getPropertyName() {
109112
/**
110113
* Sets the {@code Predicate} to be applied to the value of the named property
111114
* during {@link #evaluate(Object)}.
115+
*
112116
* @param predicate {@code Predicate}, not null
113117
*/
114118
public void setPredicate(final Predicate predicate) {
@@ -117,6 +121,7 @@ public void setPredicate(final Predicate predicate) {
117121

118122
/**
119123
* Sets the name of the property whose value is to be predicated.
124+
*
120125
* @param propertyName the name of the property whose value is to be predicated,
121126
* not null
122127
*/

src/main/java/org/apache/commons/beanutils/BeanUtils.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public static void copyProperty(final Object bean, final String name, final Obje
115115

116116
/**
117117
* Create a cache.
118+
*
118119
* @param <K> the key type of the cache
119120
* @param <V> the value type of the cache
120121
* @return a new cache
@@ -185,6 +186,7 @@ public static boolean getCacheFast(final Map<?, ?> map) {
185186

186187
/**
187188
* The {@code debug} static property is no longer used
189+
*
188190
* @return debug property
189191
* @deprecated BeanUtils now uses commons-logging for all log messages.
190192
* Use your favorite logging tool to configure logging for
@@ -408,6 +410,7 @@ public static void populate(final Object bean, final Map<String, ? extends Objec
408410

409411
/**
410412
* Set whether fast on a Map
413+
*
411414
* @param map The map
412415
* @param fast Whether it should be fast or not.
413416
* @since 1.8.0
@@ -420,6 +423,7 @@ public static void setCacheFast(final Map<?, ?> map, final boolean fast) {
420423

421424
/**
422425
* The {@code debug} static property is no longer used
426+
*
423427
* @param newDebug debug property
424428
* @deprecated BeanUtils now uses commons-logging for all log messages.
425429
* Use your favorite logging tool to configure logging for

src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ public void copyProperty(final Object bean, String name, Object value)
489489
* is called. It is recommended that such methods are given alternative
490490
* names (for example, {@code parametersMap}).
491491
* </p>
492+
*
492493
* @param bean Bean whose properties are to be extracted
493494
* @return Map of property descriptors
494495
* @throws IllegalAccessException if the caller does not have

src/main/java/org/apache/commons/beanutils/ConstructorUtils.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public class ConstructorUtils {
5050

5151
/**
5252
* Returns a constructor with single argument.
53+
*
5354
* @param <T> the type of the constructor
5455
* @param klass the class to be constructed
5556
* @param parameterType The constructor parameter type
@@ -67,6 +68,7 @@ public static <T> Constructor<T> getAccessibleConstructor(
6768

6869
/**
6970
* Returns a constructor given a class and signature.
71+
*
7072
* @param <T> the type to be constructed
7173
* @param klass the class to be constructed
7274
* @param parameterTypes the parameter array
@@ -88,6 +90,7 @@ public static <T> Constructor<T> getAccessibleConstructor(
8890

8991
/**
9092
* Returns accessible version of the given constructor.
93+
*
9194
* @param <T> the type of the constructor
9295
* @param ctor prototype constructor object.
9396
* @return {@code null} if accessible constructor cannot be found.

src/main/java/org/apache/commons/beanutils/ContextClassLoaderLocal.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public ContextClassLoaderLocal() {
115115
* Gets the instance which provides the functionality for {@link BeanUtils}.
116116
* This is a pseudo-singleton - an single instance is provided per (thread) context classloader.
117117
* This mechanism provides isolation for web apps deployed in the same container.
118+
*
118119
* @return the object currently associated with the context-classloader of the current thread.
119120
*/
120121
public synchronized T get() {
@@ -197,6 +198,7 @@ public synchronized void unset() {
197198

198199
/**
199200
* Unsets the value associated with the given classloader
201+
*
200202
* @param classLoader The classloader to <em>unset</em> for
201203
*/
202204
public synchronized void unset(final ClassLoader classLoader) {

src/main/java/org/apache/commons/beanutils/ConvertUtils.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ public static void deregister(final Class<?> clazz) {
112112

113113
/**
114114
* Gets the default value for Boolean conversions.
115+
*
115116
* @return The default Boolean value
116117
* @deprecated Register replacement converters for Boolean.TYPE and
117118
* Boolean.class instead
@@ -123,6 +124,7 @@ public static boolean getDefaultBoolean() {
123124

124125
/**
125126
* Gets the default value for Byte conversions.
127+
*
126128
* @return The default Byte value
127129
* @deprecated Register replacement converters for Byte.TYPE and
128130
* Byte.class instead
@@ -134,6 +136,7 @@ public static byte getDefaultByte() {
134136

135137
/**
136138
* Gets the default value for Character conversions.
139+
*
137140
* @return The default Character value
138141
* @deprecated Register replacement converters for Character.TYPE and
139142
* Character.class instead
@@ -145,6 +148,7 @@ public static char getDefaultCharacter() {
145148

146149
/**
147150
* Gets the default value for Double conversions.
151+
*
148152
* @return The default Double value
149153
* @deprecated Register replacement converters for Double.TYPE and
150154
* Double.class instead
@@ -156,6 +160,7 @@ public static double getDefaultDouble() {
156160

157161
/**
158162
* Get the default value for Float conversions.
163+
*
159164
* @return The default Float value
160165
* @deprecated Register replacement converters for Float.TYPE and
161166
* Float.class instead
@@ -167,6 +172,7 @@ public static float getDefaultFloat() {
167172

168173
/**
169174
* Gets the default value for Integer conversions.
175+
*
170176
* @return The default Integer value
171177
* @deprecated Register replacement converters for Integer.TYPE and
172178
* Integer.class instead
@@ -178,6 +184,7 @@ public static int getDefaultInteger() {
178184

179185
/**
180186
* Gets the default value for Long conversions.
187+
*
181188
* @return The default Long value
182189
* @deprecated Register replacement converters for Long.TYPE and
183190
* Long.class instead
@@ -189,6 +196,7 @@ public static long getDefaultLong() {
189196

190197
/**
191198
* Gets the default value for Short conversions.
199+
*
192200
* @return The default Short value
193201
* @deprecated Register replacement converters for Short.TYPE and
194202
* Short.class instead
@@ -287,6 +295,7 @@ public static void register(final Converter converter, final Class<?> clazz) {
287295

288296
/**
289297
* Sets the default value for Boolean conversions.
298+
*
290299
* @param newDefaultBoolean The default Boolean value
291300
* @deprecated Register replacement converters for Boolean.TYPE and
292301
* Boolean.class instead
@@ -298,6 +307,7 @@ public static void setDefaultBoolean(final boolean newDefaultBoolean) {
298307

299308
/**
300309
* Sets the default value for Byte conversions.
310+
*
301311
* @param newDefaultByte The default Byte value
302312
* @deprecated Register replacement converters for Byte.TYPE and
303313
* Byte.class instead
@@ -309,6 +319,7 @@ public static void setDefaultByte(final byte newDefaultByte) {
309319

310320
/**
311321
* Sets the default value for Character conversions.
322+
*
312323
* @param newDefaultCharacter The default Character value
313324
* @deprecated Register replacement converters for Character.TYPE and
314325
* Character.class instead
@@ -320,6 +331,7 @@ public static void setDefaultCharacter(final char newDefaultCharacter) {
320331

321332
/**
322333
* Sets the default value for Double conversions.
334+
*
323335
* @param newDefaultDouble The default Double value
324336
* @deprecated Register replacement converters for Double.TYPE and
325337
* Double.class instead
@@ -331,6 +343,7 @@ public static void setDefaultDouble(final double newDefaultDouble) {
331343

332344
/**
333345
* Sets the default value for Float conversions.
346+
*
334347
* @param newDefaultFloat The default Float value
335348
* @deprecated Register replacement converters for Float.TYPE and
336349
* Float.class instead
@@ -342,6 +355,7 @@ public static void setDefaultFloat(final float newDefaultFloat) {
342355

343356
/**
344357
* Sets the default value for Integer conversions.
358+
*
345359
* @param newDefaultInteger The default Integer value
346360
* @deprecated Register replacement converters for Integer.TYPE and
347361
* Integer.class instead
@@ -353,6 +367,7 @@ public static void setDefaultInteger(final int newDefaultInteger) {
353367

354368
/**
355369
* Sets the default value for Long conversions.
370+
*
356371
* @param newDefaultLong The default Long value
357372
* @deprecated Register replacement converters for Long.TYPE and
358373
* Long.class instead
@@ -364,6 +379,7 @@ public static void setDefaultLong(final long newDefaultLong) {
364379

365380
/**
366381
* Sets the default value for Short conversions.
382+
*
367383
* @param newDefaultShort The default Short value
368384
* @deprecated Register replacement converters for Short.TYPE and
369385
* Short.class instead

0 commit comments

Comments
 (0)