Skip to content

Commit dc00c9a

Browse files
committed
Use explicit int type for isOpen result variable
1 parent d2d30a3 commit dc00c9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/io/github/doblon8/openpnp/capture/CaptureStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public BufferedImage capture() {
6060
* @return true if the stream is open, false otherwise.
6161
*/
6262
public boolean isOpen() {
63-
var result = Cap_isOpenStream(context.getSegment(), id);
63+
int result = Cap_isOpenStream(context.getSegment(), id);
6464
return result == 1;
6565
}
6666

0 commit comments

Comments
 (0)