]> git.mxchange.org Git - jphone-core.git/commitdiff
Added missing this.
authorRoland Haeder <roland@mxchange.org>
Sat, 20 Feb 2016 21:03:31 +0000 (22:03 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 20 Feb 2016 21:03:31 +0000 (22:03 +0100)
src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java
src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java
src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java

index 60f464a303679c3e260c7c2bdfeb23080de721a6..2ec89ecde25d7bed0254cb6fdd8cdbc0b6e2794c 100644 (file)
@@ -102,7 +102,7 @@ public class CellphoneNumber implements DialableCellphoneNumber, Comparable<Dial
        public boolean equals (final Object object) {
                if (object == null) {
                        return false;
-               } else if (getClass() != object.getClass()) {
+               } else if (this.getClass() != object.getClass()) {
                        return false;
                }
 
index e3ede035c83f924284084b3968caea1ee1e1cb87..d74cacf8c2ec5892a06a39b9a23ca45dff591fcb 100644 (file)
@@ -165,7 +165,7 @@ public class FaxNumber implements DialableFaxNumber, Comparable<DialableFaxNumbe
        public boolean equals (final Object object) {
                if (object == null) {
                        return false;
-               } else if (getClass() != object.getClass()) {
+               } else if (this.getClass() != object.getClass()) {
                        return false;
                }
 
index a5cb082f0803d371dbe30afccce203c188b0a61c..21734d26c19d0130023c1831b71ab864de370f0c 100644 (file)
@@ -170,7 +170,7 @@ public class CellphoneProvider implements SmsProvider, Comparable<SmsProvider> {
        public boolean equals (final Object object) {
                if (object == null) {
                        return false;
-               } else if (getClass() != object.getClass()) {
+               } else if (this.getClass() != object.getClass()) {
                        return false;
                }