Skip to content

Commit f3de554

Browse files
author
漆原宏丞
committed
refactor: reformat
1 parent 26db06f commit f3de554

File tree

1 file changed

+3
-4
lines changed
  • packages/video_player/video_player_android/android/src/main/java/io/flutter/plugins/videoplayer

1 file changed

+3
-4
lines changed

packages/video_player/video_player_android/android/src/main/java/io/flutter/plugins/videoplayer/Messages.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ protected static ArrayList<Object> wrapError(@NonNull Throwable exception) {
5454
} else {
5555
errorList.add(exception.toString());
5656
errorList.add(exception.getClass().getSimpleName());
57-
errorList.add(
58-
"Cause: " + exception.getCause() + ", Stacktrace: " + Log.getStackTraceString(exception));
57+
errorList.add("Cause: " + exception.getCause() + ", Stacktrace: " + Log.getStackTraceString(exception));
5958
}
6059
return errorList;
6160
}
@@ -1710,7 +1709,7 @@ static void setup(
17101709
api.replaceDataSource(msgArg);
17111710
wrapped.add(0, null);
17121711
}
1713-
catch (Throwable exception) {
1712+
catch (Throwable exception) {
17141713
ArrayList<Object> wrappedError = wrapError(exception);
17151714
wrapped = wrappedError;
17161715
}
@@ -1734,7 +1733,7 @@ static void setup(
17341733
api.setupMux(msgArg);
17351734
wrapped.add(0, null);
17361735
}
1737-
catch (Throwable exception) {
1736+
catch (Throwable exception) {
17381737
ArrayList<Object> wrappedError = wrapError(exception);
17391738
wrapped = wrappedError;
17401739
}

0 commit comments

Comments
 (0)