Skip to content

2022-February-13 - Prerelease - 2.6.565

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Feb 14:11
597adbc
No Maps Behavior improved (#10075)

* SwingUtilities.isEventDispatchThread

EDT-checks outsourced into new methods in Util.java:
-ensureEventDispatchThread
-ensureNoneEventDispatchThread

* SwingUtilities.isEventDispatchThread Update 1
EDT-checks:
-rename to ensureOnEventDispatchThread
and ensureNotInEventDispatchThread
- test methods

* SwingUtilities.isEventDispatchThread Update 2
EDT-checks:
- test exception catch rework

* SwingUtilities.isEventDispatchThread Update 3
EDT-check tests using AtomicReference

* SwingUtilities.isEventDispatchThread Update 4
EDT-check tests using AtomicReference with instantiation

* SwingUtilities.isEventDispatchThread Update 5
EDT-check tests without AtomicReference

* No Maps Behavior improved

Before: Error message (download list of maps failed, but without hint want to do) and popup of list of maps (=empty list) shown
Fix: Message suggests to download TripleA maps manually from github and if no maps are available, only warning message popup is shown and no empty list of maps.

 Also basic cleaning of SonarLint issues performed.

DownloadMapsWindow:
- prevent list of empty maps in case there are none
- method logMapDownloadRequestIgnored pushed to local class
- Optional check for downloadMapsWindowModel.getInstallLocation(map).get()
MapsClient:
- reduced message level to warning
- message text updated with hint for maps on github
 ErrorMessage
 - removed setPreferredSize call to determine size of message popup by pack call instead
 - rename of member name to be different from class name
 ClientFileSystemHelper
 - extracted exception raise with same text
 MapsClient
 - maps folder name stored as constant

* No Maps Behavior improved Fix 1

 ClientFileSystemHelper
 - simplified exception raise in method handleUnableToLocateRootFolder
 - constant USER_ROOT_FOLDER_NAME