This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
ant
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
1
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
avoid NPE
master
Stefan Bodewig
8 years ago
parent
99deebc030
commit
fba969ee60
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
src/main/org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.java
+ 3
- 1
src/main/org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.java
View File
@@ -135,7 +135,9 @@ public class AntSoundPlayer implements LineListener, BuildListener {
}
audioClip.drain();
} finally {
audioClip.close();
if (audioClip != null) {
audioClip.close();
}
}
} else {
project.log("Can't get data from file " + file.getName());
Write
Preview
Loading…
Cancel
Save