Skip to content

Commit

Permalink
Fixing spotless error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Craigacp committed Oct 1, 2024
1 parent 635710d commit 44dfb49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions java/src/main/java/ai/onnxruntime/OrtLoraAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ public static OrtLoraAdapter create(String adapterPath) throws OrtException {
* @throws OrtException If the native call failed.
* @return An OrtLoraAdapter instance.
*/
static OrtLoraAdapter create(String adapterPath, OrtAllocator allocator)
throws OrtException {
static OrtLoraAdapter create(String adapterPath, OrtAllocator allocator) throws OrtException {
long allocatorHandle = allocator == null ? 0 : allocator.handle;
return new OrtLoraAdapter(
createLoraAdapter(OnnxRuntime.ortApiHandle, adapterPath, allocatorHandle));
Expand Down

0 comments on commit 44dfb49

Please sign in to comment.