Skip to content

Commit 9286eac

Browse files
committed
Rename getPropertyValue to getProperty in CaptureStream
1 parent ff94c43 commit 9286eac

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
@@ -108,7 +108,7 @@ public PropertyLimits getPropertyLimits(CaptureProperty property) {
108108
* @return the current value of the property.
109109
* @throws CaptureException if an error occurs while getting the property value.
110110
*/
111-
public int getPropertyValue(CaptureProperty property) {
111+
public int getProperty(CaptureProperty property) {
112112
try (Arena arena = Arena.ofConfined()) {
113113
MemorySegment valuePointer = arena.allocate(ValueLayout.JAVA_INT);
114114
int result = Cap_getProperty(context.getSegment(), id, property.value(), valuePointer);

0 commit comments

Comments
 (0)