You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewUSBException(String.format("Interface %d has not been claimed", interfaceNumber));
237
+
thrownewUSBException(String.format("interface %d must be claimed first", interfaceNumber));
238
238
} elseif (!isClaimed && intf.isClaimed()) {
239
-
thrownewUSBException(String.format("Interface %d has already been claimed", interfaceNumber));
239
+
thrownewUSBException(String.format("interface %d has already been claimed", interfaceNumber));
240
240
}
241
241
returnintf;
242
242
}
@@ -292,7 +292,9 @@ protected void throwInvalidEndpointException(USBDirection direction, int endpoin
292
292
transferTypeDesc = transferType1.name();
293
293
else
294
294
transferTypeDesc = String.format("%s or %s", transferType1.name(), transferType2.name());
295
-
thrownewUSBException(String.format("Endpoint number %d does not exist, is not part of a claimed interface " + "or is not valid for %s transfer in %s direction", endpointNumber, transferTypeDesc, direction.name()));
295
+
thrownewUSBException(String.format(
296
+
"endpoint number %d does not exist, is not part of a claimed interface or is not valid for %s transfer in %s direction",
0 commit comments