Skip to content

Commit

Permalink
fix: spaces map type forcible transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackisome committed Nov 21, 2024
1 parent 479a85c commit b8f9410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public List<URL> getProfileConfFiles(String... profiles) {
* @throws ArkRuntimeException
*/
public void reInitializeArkLogger() throws ArkRuntimeException {
for (Map.Entry<SpaceId, SpaceInfo> entry : MultiAppLoggerSpaceManager.getSpacesMap()
for (Map.Entry<SpaceId, SpaceInfo> entry : ((Map<SpaceId, SpaceInfo>) MultiAppLoggerSpaceManager.getSpacesMap())
.entrySet()) {
SpaceId spaceId = entry.getKey();
SpaceInfo spaceInfo = entry.getValue();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public void testLoadClassFromClassLoaderHook() throws Exception {

// case 7: find resource from master in multiple jar
Assert.assertNotNull(bizModel.getBizClassLoader().getResource("Sample_Resource_Exported_A"));
:

// case 8: find resources from master but not set provided in biz model
Assert.assertFalse(bizModel.getBizClassLoader().getResources("org/slf4j/ILoggerFactory.class")
.hasMoreElements());
Expand Down

0 comments on commit b8f9410

Please sign in to comment.