Skip to content

Commit a552543

Browse files
DavidMina96Ali Abdelfattah
andauthored
[INSD-8104] Declare local vars final (#788)
* Declare local var final * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: Ali Abdelfattah <aabdelfattah@instabug.com> Co-authored-by: Ali Abdelfattah <aabdelfattah@instabug.com>
1 parent ce1484f commit a552543

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Unreleased
22

33
* Uses Cocoapods for Instabug iOS SDK
4+
* Fixes a compilation error on projects with Java version prior to 8.
45

56
## 11.2.0 (2022-09-19)
67

android/src/main/java/com/instabug/reactlibrary/RNInstabugBugReportingModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public void run() {
180180
* @see InstabugInvocationEvent
181181
*/
182182
@ReactMethod
183-
public void setInvocationEvents(ReadableArray invocationEventValues) {
183+
public void setInvocationEvents(final ReadableArray invocationEventValues) {
184184
MainThreadHandler.runOnMainThread(new Runnable() {
185185
@Override
186186
public void run() {
@@ -324,7 +324,7 @@ public void run() {
324324
* @see BugReporting.ReportType
325325
*/
326326
@ReactMethod
327-
public void setReportTypes(ReadableArray types) {
327+
public void setReportTypes(final ReadableArray types) {
328328
MainThreadHandler.runOnMainThread(new Runnable() {
329329
@SuppressLint("WrongConstant")
330330
@Override

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ public void run() {
553553
* @see InstabugInvocationEvent
554554
*/
555555
@ReactMethod
556-
public void setInvocationEvents(ReadableArray invocationEventValues) {
556+
public void setInvocationEvents(final ReadableArray invocationEventValues) {
557557
MainThreadHandler.runOnMainThread(new Runnable() {
558558
@Override
559559
public void run() {

0 commit comments

Comments
 (0)