mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 14:58:39 +00:00
📍Use lombok, reformat, and optimize the code (#1560)
* Use lombok, reformat, and optimize the code * Fix merge conflicts and some sonar issues Co-authored-by: va1m <va1m@email.com>
This commit is contained in:
@@ -31,7 +31,7 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Tests {@link Student}.
|
||||
*/
|
||||
public final class StudentTest {
|
||||
final class StudentTest {
|
||||
|
||||
/**
|
||||
* This API tests the equality behaviour of Student object Object Equality should work as per
|
||||
@@ -40,7 +40,7 @@ public final class StudentTest {
|
||||
* @throws Exception if any execution error during test
|
||||
*/
|
||||
@Test
|
||||
public void testEquality() throws Exception {
|
||||
void testEquality() throws Exception {
|
||||
|
||||
/* Create some students */
|
||||
final var firstStudent = new Student(1, "Adam", 'A');
|
||||
|
||||
Reference in New Issue
Block a user