This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git


The following commit(s) were added to refs/heads/master by this push:
     new 60cf876  BCEL-345: make documentation wording more inclusive (#98)
60cf876 is described below

commit 60cf876e18d7f179dd685f4d5799456c3157c13b
Author: Christine Poerschke <cpoersc...@apache.org>
AuthorDate: Thu Jul 22 12:56:18 2021 +0100

    BCEL-345: make documentation wording more inclusive (#98)
    
    * change 'he' to 'he or she' in 5 places
    
    * change 'he or she' to 'they' in 5 places
---
 src/main/java/org/apache/bcel/generic/ClassGen.java  | 2 +-
 src/main/java/org/apache/bcel/generic/FieldGen.java  | 2 +-
 src/main/java/org/apache/bcel/generic/MethodGen.java | 4 ++--
 src/site/xdoc/manual/application-areas.xml           | 4 ++--
 src/site/xdoc/manual/bcel-api.xml                    | 4 ++--
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/main/java/org/apache/bcel/generic/ClassGen.java 
b/src/main/java/org/apache/bcel/generic/ClassGen.java
index 3be6091..4ab405b 100644
--- a/src/main/java/org/apache/bcel/generic/ClassGen.java
+++ b/src/main/java/org/apache/bcel/generic/ClassGen.java
@@ -544,7 +544,7 @@ public class ClassGen extends AccessFlags implements 
Cloneable {
 
     /** Call notify() method on all observers. This method is not called
      * automatically whenever the state has changed, but has to be
-     * called by the user after he has finished editing the object.
+     * called by the user after they have finished editing the object.
      */
     public void update() {
         if (observers != null) {
diff --git a/src/main/java/org/apache/bcel/generic/FieldGen.java 
b/src/main/java/org/apache/bcel/generic/FieldGen.java
index d5dc5b4..924386e 100644
--- a/src/main/java/org/apache/bcel/generic/FieldGen.java
+++ b/src/main/java/org/apache/bcel/generic/FieldGen.java
@@ -286,7 +286,7 @@ public class FieldGen extends FieldGenOrMethodGen {
 
     /** Call notify() method on all observers. This method is not called
      * automatically whenever the state has changed, but has to be
-     * called by the user after he has finished editing the object.
+     * called by the user after they have finished editing the object.
      */
     public void update() {
         if (observers != null) {
diff --git a/src/main/java/org/apache/bcel/generic/MethodGen.java 
b/src/main/java/org/apache/bcel/generic/MethodGen.java
index e402b85..e25369e 100644
--- a/src/main/java/org/apache/bcel/generic/MethodGen.java
+++ b/src/main/java/org/apache/bcel/generic/MethodGen.java
@@ -100,7 +100,7 @@ public class MethodGen extends FieldGenOrMethodGen {
      * Declare method. If the method is non-static the constructor
      * automatically declares a local variable `$this' in slot 0. The
      * actual code is contained in the `il' parameter, which may further
-     * manipulated by the user. But he must take care not to remove any
+     * manipulated by the user. But they must take care not to remove any
      * instruction (handles) that are still referenced from this object.
      *
      * For example one may not add a local variable and later remove the
@@ -1113,7 +1113,7 @@ public class MethodGen extends FieldGenOrMethodGen {
 
     /** Call notify() method on all observers. This method is not called
      * automatically whenever the state has changed, but has to be
-     * called by the user after he has finished editing the object.
+     * called by the user after they have finished editing the object.
      */
     public void update() {
         if (observers != null) {
diff --git a/src/site/xdoc/manual/application-areas.xml 
b/src/site/xdoc/manual/application-areas.xml
index 2f96bca..2a2623e 100644
--- a/src/site/xdoc/manual/application-areas.xml
+++ b/src/site/xdoc/manual/application-areas.xml
@@ -83,7 +83,7 @@
         reflection supported by the <a
               
href="http://java.sun.com/j2se/1.3/docs/guide/reflection/index.html";>Java
         Reflection API</a>. Load-time transformations supply the user with
-        a new level of abstraction. He is not strictly tied to the static
+        a new level of abstraction. They are not strictly tied to the static
         constraints of the original authors of the classes but may
         customize the applications with third-party code in order to
         benefit from new features. Such transformations may be executed on
@@ -143,4 +143,4 @@
     </subsection>
     </section>
   </body>
-</document>
\ No newline at end of file
+</document>
diff --git a/src/site/xdoc/manual/bcel-api.xml 
b/src/site/xdoc/manual/bcel-api.xml
index 8417f1d..e47b50a 100644
--- a/src/site/xdoc/manual/bcel-api.xml
+++ b/src/site/xdoc/manual/bcel-api.xml
@@ -442,7 +442,7 @@ il.dispose(); // Reuse instruction handles of list
         To simplify the creation of certain instructions the user can use
         the supplied <tt>InstructionFactory</tt> class which offers a lot
         of useful methods to create instructions from
-        scratch. Alternatively, he can also use <em>compound
+        scratch. Alternatively, they can also use <em>compound
         instructions</em>: When producing byte code, some patterns
         typically occur very frequently, for instance the compilation of
         arithmetic or comparison expressions. You certainly do not want
@@ -642,4 +642,4 @@ for (Iterator e = f.search(pat, constraint); e.hasNext(); ) 
{
     </subsection>
     </section>
   </body>
-</document>
\ No newline at end of file
+</document>

Reply via email to