Skip to content

Commit

Permalink
Fix casting issue
Browse files Browse the repository at this point in the history
In IntelliJ, the existing combination of raw types, casting, and lambdas often produces spurious compilation errors. This PR introduces a solution which hides the unsafe cast in a single method, and also uses `Map.putIfAbsent` to avoid constructing a lambda for this case.
  • Loading branch information
dmlloyd committed Jan 10, 2024
1 parent b36238a commit 4102196
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package io.smallrye.config;/**
*
*/public final class SingleConfigSourceInterceptor {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package io.smallrye.config.util;/**
*
*/public final class Iterators {
}

0 comments on commit 4102196

Please sign in to comment.