Skip to content

Commit 13c9f98

Browse files
committed
Replace 4x, 3x, and 2x empty lines with a single one
1 parent a5ef8b1 commit 13c9f98

File tree

156 files changed

+0
-1544
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+0
-1544
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ public Object setValue(final Object value) {
9090
private final DynaBean dynaBean;
9191
private final boolean readOnly;
9292

93-
9493
private transient Set<K> keySet;
9594

9695
/**
@@ -104,9 +103,6 @@ public BaseDynaBeanMapDecorator(final DynaBean dynaBean) {
104103
this(dynaBean, true);
105104
}
106105

107-
108-
109-
110106
/**
111107
* Construct a Map for the specified {@link DynaBean}.
112108
*
@@ -123,7 +119,6 @@ public BaseDynaBeanMapDecorator(final DynaBean dynaBean, final boolean readOnly)
123119
this.readOnly = readOnly;
124120
}
125121

126-
127122
/**
128123
* Always throws UnsupportedOperationException because this operation is unsupported.
129124
*
@@ -315,7 +310,6 @@ public Object put(final K key, final Object value) {
315310
return previous;
316311
}
317312

318-
319313
/**
320314
* Copy the contents of a Map to the decorated {@link DynaBean}.
321315
*
@@ -345,7 +339,6 @@ public Object remove(final Object key) {
345339
throw new UnsupportedOperationException();
346340
}
347341

348-
349342
/**
350343
* Returns the number properties in the decorated
351344
* {@link DynaBean}.

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

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,14 @@
1515
* limitations under the License.
1616
*/
1717

18-
1918
package org.apache.commons.beanutils;
2019

21-
2220
import java.io.Serializable;
2321
import java.lang.reflect.Array;
2422
import java.util.HashMap;
2523
import java.util.List;
2624
import java.util.Map;
2725

28-
2926
/**
3027
* <p>Minimal implementation of the <code>DynaBean</code> interface. Can be
3128
* used as a convenience base class for more sophisticated implementations.</p>
@@ -41,9 +38,6 @@
4138

4239
public class BasicDynaBean implements DynaBean, Serializable {
4340

44-
45-
46-
4741
private static final long serialVersionUID = 1L;
4842

4943
/**
@@ -52,15 +46,11 @@ public class BasicDynaBean implements DynaBean, Serializable {
5246
*/
5347
protected DynaClass dynaClass;
5448

55-
56-
57-
5849
/**
5950
* The set of property values for this DynaBean, keyed by property name.
6051
*/
6152
protected HashMap<String, Object> values = new HashMap<>();
6253

63-
6454
/** Map decorator for this DynaBean */
6555
private transient Map<String, Object> mapDecorator;
6656

@@ -104,8 +94,6 @@ public boolean contains(final String name, final String key) {
10494

10595
}
10696

107-
108-
10997
/**
11098
* Return the value of a simple property with the specified name.
11199
*
@@ -157,7 +145,6 @@ public Object get(final String name) {
157145
return null;
158146
}
159147

160-
161148
/**
162149
* Return the value of an indexed property with the specified name.
163150
*
@@ -192,7 +179,6 @@ public Object get(final String name, final int index) {
192179

193180
}
194181

195-
196182
/**
197183
* Return the value of a mapped property with the specified name,
198184
* or <code>null</code> if there is no value for the specified key.
@@ -221,7 +207,6 @@ public Object get(final String name, final String key) {
221207

222208
}
223209

224-
225210
/**
226211
* Return the <code>DynaClass</code> instance that describes the set of
227212
* properties available for this DynaBean.
@@ -235,7 +220,6 @@ public DynaClass getDynaClass() {
235220

236221
}
237222

238-
239223
/**
240224
* Return the property descriptor for the specified property name.
241225
*
@@ -255,7 +239,6 @@ protected DynaProperty getDynaProperty(final String name) {
255239

256240
}
257241

258-
259242
/**
260243
* Return a Map representation of this DynaBean.
261244
* <p>
@@ -277,7 +260,6 @@ public Map<String, Object> getMap() {
277260

278261
}
279262

280-
281263
/**
282264
* Is an object of the source class assignable to the destination class?
283265
*
@@ -303,7 +285,6 @@ protected boolean isAssignable(final Class<?> dest, final Class<?> source) {
303285

304286
}
305287

306-
307288
/**
308289
* Remove any existing value for the specified key on the
309290
* specified mapped property.
@@ -330,7 +311,6 @@ public void remove(final String name, final String key) {
330311

331312
}
332313

333-
334314
/**
335315
* Set the value of an indexed property with the specified name.
336316
*
@@ -374,9 +354,6 @@ public void set(final String name, final int index, final Object value) {
374354

375355
}
376356

377-
378-
379-
380357
/**
381358
* Set the value of a simple property with the specified name.
382359
*
@@ -409,7 +386,6 @@ public void set(final String name, final Object value) {
409386

410387
}
411388

412-
413389
/**
414390
* Set the value of a mapped property with the specified name.
415391
*
@@ -444,5 +420,4 @@ public void set(final String name, final String key, final Object value) {
444420

445421
}
446422

447-
448423
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
public class BeanAccessLanguageException extends IllegalArgumentException {
2929

30-
3130
private static final long serialVersionUID = 1L;
3231

3332
/**

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ public boolean equals(final Object o) {
181181
return true;
182182
}
183183

184-
185184
/**
186185
* Gets the Comparator being used to compare beans.
187186
*
@@ -191,7 +190,6 @@ public Comparator<?> getComparator() {
191190
return comparator;
192191
}
193192

194-
195193
/**
196194
* Gets the property attribute of the BeanComparator
197195
*

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ private static Map<Class<? extends Object>, Transformer> createTypeTransformers(
198198

199199
private transient HashMap<String, Method> writeMethods = new HashMap<>();
200200

201-
202201
// Constructors
203202
//-------------------------------------------------------------------------
204203

@@ -315,7 +314,6 @@ public Object clone() throws CloneNotSupportedException {
315314
return newMap;
316315
}
317316

318-
319317
/**
320318
* Returns true if the bean defines a property with the given name.
321319
* <p>
@@ -487,7 +485,6 @@ public int size() {
487485
});
488486
}
489487

490-
491488
/**
492489
* Called during a successful {@link #put(Object,Object)} operation.
493490
* Default implementation does nothing. Override to be notified of
@@ -541,7 +538,6 @@ public Object getBean() {
541538
return bean;
542539
}
543540

544-
545541
// Helper methods
546542
//-------------------------------------------------------------------------
547543

@@ -589,7 +585,6 @@ protected Transformer getTypeTransformer( final Class<?> aType ) {
589585
return typeTransformers.get( aType );
590586
}
591587

592-
593588
// Properties
594589
//-------------------------------------------------------------------------
595590

@@ -660,7 +655,6 @@ public Iterator<String> keyIterator() {
660655
return readMethods.keySet().iterator();
661656
}
662657

663-
664658
// Implementation methods
665659
//-------------------------------------------------------------------------
666660

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import org.apache.commons.logging.Log;
2424
import org.apache.commons.logging.LogFactory;
2525

26-
2726
/**
2827
* <p><code>Closure</code> that sets a property.</p>
2928
* <p>

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import org.apache.commons.logging.Log;
2424
import org.apache.commons.logging.LogFactory;
2525

26-
2726
/**
2827
* <p><code>Predicate</code> that evaluates a property value against a specified value.</p>
2928
* <p>

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import org.apache.commons.logging.Log;
2424
import org.apache.commons.logging.LogFactory;
2525

26-
2726
/**
2827
* <p><code>Transformer</code> that outputs a property value.</p>
2928
*

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,6 @@ public static String getProperty(final Object bean, final String name)
345345
return BeanUtilsBean.getInstance().getProperty(bean, name);
346346
}
347347

348-
349348
/**
350349
* <p>Return the value of the specified simple property of the specified
351350
* bean, converted to a String.</p>

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ public static <T> Constructor<T> getAccessibleConstructor(final Constructor<T> c
105105
return null;
106106
}
107107

108-
109108
/**
110109
* <p>Find an accessible constructor with compatible parameters.
111110
* Compatible parameters mean that every method parameter is assignable from

0 commit comments

Comments
 (0)