Skip to content

Commit

Permalink
[#508] Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
prmr committed Dec 18, 2023
1 parent fc1a758 commit c13aae0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
package org.jetuml.diagram.validator;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;

import java.lang.reflect.Field;
import java.util.ArrayList;
Expand Down
2 changes: 0 additions & 2 deletions test/org/jetuml/gui/TestNotificationService.java
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,7 @@ public void testNotificationDeletionWhenWindowBorderReached() throws Interrupted
Field notificationYMarginField = NotificationService.class.getDeclaredField("NOTIFICATION_DISPLAY_Y_MARGIN");
notificationYMarginField.setAccessible(true);

@SuppressWarnings("unchecked")
int notificationSpacing = (int) notificationSpacingField.get(null);
@SuppressWarnings("unchecked")
int yMargin = (int) notificationYMarginField.get(null);

Platform.runLater(() -> {
Expand Down

0 comments on commit c13aae0

Please sign in to comment.