Fixed missing toString function

This commit is contained in:
Ziver Koc 2024-12-29 00:37:44 +01:00
parent 66e7ed4aaf
commit 79a2861abd

View file

@ -1,7 +1,7 @@
/* /*
* The MIT License (MIT) * The MIT License (MIT)
* *
* Copyright (c) 2020 Ziver Koc * Copyright (c) 2020-2024 Ziver Koc
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -208,5 +208,9 @@ public class UserMessageManager implements Iterable<UserMessageManager.UserMessa
title.equals(((UserMessage) obj).title); title.equals(((UserMessage) obj).title);
return false; return false;
} }
public String toString() {
return "(" + level + ", id: " + id + ") " + title;
}
} }
} }