@@ -58,10 +58,10 @@ public void rejectedExecution(Runnable runnable, ThreadPoolExecutor executor) {
5858 private Configuration config ;
5959 private final SessionTracker sessionTracker ;
6060
61- private static final ThreadLocal <MetaData > THREAD_METADATA = new ThreadLocal <MetaData >() {
61+ private static final ThreadLocal <Metadata > THREAD_METADATA = new ThreadLocal <Metadata >() {
6262 @ Override
63- public MetaData initialValue () {
64- return new MetaData ();
63+ public Metadata initialValue () {
64+ return new Metadata ();
6565 }
6666 };
6767
@@ -228,13 +228,13 @@ public void setEndpoint(String endpoint) {
228228 }
229229
230230 /**
231- * Set which keys should be redacted when sending metaData to Bugsnag.
231+ * Set which keys should be redacted when sending metadata to Bugsnag.
232232 * Use this when you want to ensure sensitive information, such as passwords
233- * or credit card information is stripped from metaData you send to Bugsnag.
234- * Any keys in metaData which contain these strings will be marked as
233+ * or credit card information is stripped from metadata you send to Bugsnag.
234+ * Any keys in metadata which contain these strings will be marked as
235235 * [REDACTED] when send to Bugsnag.
236236 *
237- * @param redactedKeys a list of String keys to redact from metaData
237+ * @param redactedKeys a list of String keys to redact from metadata
238238 */
239239 public void setRedactedKeys (String ... redactedKeys ) {
240240 config .redactedKeys = redactedKeys ;
@@ -465,7 +465,7 @@ public boolean notify(Report report, Callback reportCallback) {
465465 }
466466
467467 // Add thread metadata to the report
468- report .mergeMetaData (THREAD_METADATA .get ());
468+ report .mergeMetadata (THREAD_METADATA .get ());
469469
470470 // Run the report-specific beforeNotify callback, if given
471471 if (reportCallback != null ) {
@@ -618,14 +618,14 @@ public void close() {
618618 * @param key the key of the metadata to add
619619 * @param value the metadata value to add
620620 */
621- public static void addThreadMetaData (String tabName , String key , Object value ) {
621+ public static void addThreadMetadata (String tabName , String key , Object value ) {
622622 THREAD_METADATA .get ().addToTab (tabName , key , value );
623623 }
624624
625625 /**
626626 * Clears all metadata added to the current thread
627627 */
628- public static void clearThreadMetaData () {
628+ public static void clearThreadMetadata () {
629629 THREAD_METADATA .get ().clear ();
630630 }
631631
@@ -634,7 +634,7 @@ public static void clearThreadMetaData() {
634634 *
635635 * @param tabName the name of the tab to remove
636636 */
637- public static void clearThreadMetaData (String tabName ) {
637+ public static void clearThreadMetadata (String tabName ) {
638638 THREAD_METADATA .get ().clearTab (tabName );
639639 }
640640
@@ -644,7 +644,7 @@ public static void clearThreadMetaData(String tabName) {
644644 * @param tabName the name of the tab to that the metadata is in
645645 * @param key the key of the metadata to remove
646646 */
647- public static void clearThreadMetaData (String tabName , String key ) {
647+ public static void clearThreadMetadata (String tabName , String key ) {
648648 THREAD_METADATA .get ().clearKey (tabName , key );
649649 }
650650
0 commit comments