Skip to content

Commit

Permalink
Allow override of equals and toString to support groups in ical4j-vcard
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Apr 30, 2022
1 parent a3c2989 commit 726a3cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/fortuna/ical4j/model/Property.java
Expand Up @@ -436,7 +436,7 @@ protected Property(final String aName, final ParameterList aList) {
* {@inheritDoc}
*/
@Override
public final String toString() {
public String toString() {
final StringBuilder buffer = new StringBuilder();
buffer.append(getName());
if (parameters != null) {
Expand Down Expand Up @@ -581,7 +581,7 @@ public final <P extends Parameter> P getRequiredParameter(final String name) {
* {@inheritDoc}
*/
@Override
public final boolean equals(final Object arg0) {
public boolean equals(final Object arg0) {
if (arg0 instanceof Property) {
final Property p = (Property) arg0;
return getName().equals(p.getName())
Expand Down

0 comments on commit 726a3cd

Please sign in to comment.