Skip to content

Commit 85394ee

Browse files
committed
Update some method Javadocs as they no longer return null
1 parent 5f81aef commit 85394ee

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ public CaptureDevice(CaptureContext context, int deviceId) {
2828

2929
/**
3030
* Get the name of a capture device.
31-
* <p>
32-
* If a device with the given id does not exist, null is returned.
3331
*
3432
* @param deviceId the device id of the capture device.
3533
* @return the name of the capture device.
@@ -48,8 +46,6 @@ private String getDeviceName(int deviceId) {
4846
* <p>
4947
* The string contains a unique concatenation of the device name and other parameters.
5048
* These parameters are platform dependent.
51-
* <p>
52-
* If a device with the given id does not exist, null is returned.
5349
*
5450
* @param deviceId the device id of the capture device.
5551
* @return the unique name of the capture device.

0 commit comments

Comments
 (0)