Skip to content

Commit

Permalink
No more need to declare IOException
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Pasternak committed Dec 11, 2024
1 parent 017fcae commit 3765ea4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ private void removeSourcesWithMatchingAnnotations(CachedArtifact src, Path dest)

@Nullable
@VisibleForTesting
String getGeneratedValue(String fileName, ByteSource content) throws IOException {
String getGeneratedValue(String fileName, ByteSource content) {
return ApplicationManager.getApplication()
.runReadAction(
(ThrowableComputable<String, IOException>) () ->
(Computable<String>) () ->
DumbService.getInstance(project).tryRunReadActionInSmartMode(
() -> {
try {
Expand Down

0 comments on commit 3765ea4

Please sign in to comment.