diff --git a/src/java/org/apache/commons/lang/builder/HashCodeBuilder.java b/src/java/org/apache/commons/lang/builder/HashCodeBuilder.java index c3c60d695..77f3d3078 100644 --- a/src/java/org/apache/commons/lang/builder/HashCodeBuilder.java +++ b/src/java/org/apache/commons/lang/builder/HashCodeBuilder.java @@ -42,7 +42,7 @@ import java.util.List; * public class Person { * String name; * int age; - * boolean isSmoker; + * boolean smoker; * ... * * public int hashCode() { diff --git a/src/java/org/apache/commons/lang/builder/ToStringBuilder.java b/src/java/org/apache/commons/lang/builder/ToStringBuilder.java index a0f5a3142..8b6c2177b 100644 --- a/src/java/org/apache/commons/lang/builder/ToStringBuilder.java +++ b/src/java/org/apache/commons/lang/builder/ToStringBuilder.java @@ -38,7 +38,7 @@ import org.apache.commons.lang.ObjectUtils; * public class Person { * String name; * int age; - * boolean isSmoker; + * boolean smoker; * * ... *