-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
improvementRefactorings and internal structure improvementsRefactorings and internal structure improvementsquestion
Description
java-stream-player/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java
Line 529 in 4991e4a
if (sourceDataLine.isOpen()) { |
On the line above the test, you just opened the sourceDataLine. Don't you trust that it worked?
If it didn't work, if the line wasn't opened, isn't that a reason to throw an exception, rather than silently ignore the failure?
Metadata
Metadata
Assignees
Labels
improvementRefactorings and internal structure improvementsRefactorings and internal structure improvementsquestion