We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd13f68 commit 71b2f64Copy full SHA for 71b2f64
rta/src/main/java/com/gluonhq/richtextarea/model/DecorationModel.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 2022, Gluon
+ * Copyright (c) 2022, 2023, Gluon
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
@@ -91,8 +91,8 @@ public boolean equals(Object o) {
91
if (o == null || getClass() != o.getClass()) return false;
92
DecorationModel that = (DecorationModel) o;
93
return start == that.start && length == that.length &&
94
- decoration.equals(that.decoration) &&
95
- paragraphDecoration.equals(that.paragraphDecoration);
+ Objects.equals(decoration, that.decoration) &&
+ Objects.equals(paragraphDecoration, that.paragraphDecoration);
96
}
97
98
@Override
0 commit comments