Skip to content

Commit

Permalink
Fix field name
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Jan 31, 2025
1 parent 33ce553 commit 6901bb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static Invoker<?> getMockInvokerWithUrl() {

public static String getValueForKey(KeyValues keyValues, Object key)
throws NoSuchFieldException, IllegalAccessException {
Field f = KeyValues.class.getDeclaredField("keyValues");
Field f = KeyValues.class.getDeclaredField("sortedSet");
f.setAccessible(true);
KeyValue[] kv = (KeyValue[]) f.get(keyValues);
for (KeyValue keyValue : kv) {
Expand Down

0 comments on commit 6901bb2

Please sign in to comment.