Skip to content

Commit 02d8710

Browse files
authored
Android linter fix (#14468)
1 parent 5768cf8 commit 02d8710

File tree

1 file changed

+1
-2
lines changed
  • extension/android/executorch_android/src/main/java/org/pytorch/executorch

1 file changed

+1
-2
lines changed

extension/android/executorch_android/src/main/java/org/pytorch/executorch/Module.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,9 @@ public MethodMetadata getMethodMetadata(String name) {
204204
throw new RuntimeException("method " + name + "does not exist for this module");
205205
}
206206

207-
MethodMetadata methodMetadata =mMethodMetadata.get(name);
207+
MethodMetadata methodMetadata = mMethodMetadata.get(name);
208208
if (methodMetadata != null) {
209209
methodMetadata.setBackends(getUsedBackends(name));
210-
211210
}
212211
return methodMetadata;
213212
}

0 commit comments

Comments
 (0)