Skip to content

Commit

Permalink
Javadoc: Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Dec 8, 2024
1 parent 1ada1cf commit d5c0605
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* <p><code>ConstructorUtils</code> contains a workaround for this situation.
* It will attempt to call <code>setAccessible</code> on this constructor.
* If this call succeeds, then the method can be invoked as normal.
* This call will only succeed when the application has sufficient security privilages.
* This call will only succeed when the application has sufficient security privileges.
* If this call fails then a warning will be logged and the method may fail.</p>
*/
public class ConstructorUtils {
Expand Down Expand Up @@ -146,7 +146,7 @@ private static <T> Constructor<T> getMatchingAccessibleConstructor(
// modifer is public.
//
// The following workaround solves the problem but will only
// work from sufficiently privilages code.
// work from sufficiently privileges code.
//
// Better workarounds would be greatfully accepted.
//
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/apache/commons/beanutils/MethodUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* <p><code>MethodUtils</code> contains a workaround for this situation.
* It will attempt to call <code>setAccessible</code> on this method.
* If this call succeeds, then the method can be invoked as normal.
* This call will only succeed when the application has sufficient security privilages.
* This call will only succeed when the application has sufficient security privileges.
* If this call fails then a warning will be logged and the method may fail.</p>
*
*/
Expand Down Expand Up @@ -1293,7 +1293,7 @@ private static void setMethodAccessible(final Method method) {
// modifer is public.
//
// The following workaround solves the problem but will only
// work from sufficiently privilages code.
// work from sufficiently privileges code.
//
// Better workarounds would be greatfully accepted.
//
Expand Down

0 comments on commit d5c0605

Please sign in to comment.