We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 520ae2b commit 0b0b836Copy full SHA for 0b0b836
backtrace-library/src/androidTest/java/backtraceio/library/SettingAttributesTest.java
@@ -47,9 +47,9 @@ public void setUp() {
47
context = InstrumentationRegistry.getInstrumentation().getContext();
48
final String url = "https://backtrace.io/";
49
backtraceCredentials = new BacktraceCredentials(url);
50
- clientAttributes = new HashMap<>();
51
-
52
- clientAttributes.put(customClientAttributeKey, customClientAttributeValue);
+ clientAttributes = new HashMap<String, Object>() {{
+ put(customClientAttributeKey, customClientAttributeValue);
+ }};
53
}
54
55
@Test
0 commit comments