Skip to content

Commit d5c0605

Browse files
committed
Javadoc: Fix spelling
1 parent 1ada1cf commit d5c0605

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* <p><code>ConstructorUtils</code> contains a workaround for this situation.
3333
* It will attempt to call <code>setAccessible</code> on this constructor.
3434
* If this call succeeds, then the method can be invoked as normal.
35-
* This call will only succeed when the application has sufficient security privilages.
35+
* This call will only succeed when the application has sufficient security privileges.
3636
* If this call fails then a warning will be logged and the method may fail.</p>
3737
*/
3838
public class ConstructorUtils {
@@ -146,7 +146,7 @@ private static <T> Constructor<T> getMatchingAccessibleConstructor(
146146
// modifer is public.
147147
//
148148
// The following workaround solves the problem but will only
149-
// work from sufficiently privilages code.
149+
// work from sufficiently privileges code.
150150
//
151151
// Better workarounds would be greatfully accepted.
152152
//

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* <p><code>MethodUtils</code> contains a workaround for this situation.
4343
* It will attempt to call <code>setAccessible</code> on this method.
4444
* If this call succeeds, then the method can be invoked as normal.
45-
* This call will only succeed when the application has sufficient security privilages.
45+
* This call will only succeed when the application has sufficient security privileges.
4646
* If this call fails then a warning will be logged and the method may fail.</p>
4747
*
4848
*/
@@ -1293,7 +1293,7 @@ private static void setMethodAccessible(final Method method) {
12931293
// modifer is public.
12941294
//
12951295
// The following workaround solves the problem but will only
1296-
// work from sufficiently privilages code.
1296+
// work from sufficiently privileges code.
12971297
//
12981298
// Better workarounds would be greatfully accepted.
12991299
//

0 commit comments

Comments
 (0)