Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-hegde committed Sep 2, 2022
1 parent bb012da commit 8c0bf0e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
11 changes: 5 additions & 6 deletions jni_gen/examples/pdfbox_plugin/dart_example/bin/pdf_info.dart
Expand Up @@ -39,12 +39,11 @@ void writeInfo(String file) {

final jniLibsDir = join('build', 'jni_libs');

const jarError =
'No JAR files were found.\n'
'Run `dart run jni_gen:download_maven_jars --config jnigen.yaml` '
'in plugin directory.\n'
'Alternatively, regenerate JNI bindings in plugin directory, which will '
'automatically download the JAR files.';
const jarError = 'No JAR files were found.\n'
'Run `dart run jni_gen:download_maven_jars --config jnigen.yaml` '
'in plugin directory.\n'
'Alternatively, regenerate JNI bindings in plugin directory, which will '
'automatically download the JAR files.';

void main(List<String> arguments) {
final jarDir = join('..', 'mvn_jar');
Expand Down
11 changes: 5 additions & 6 deletions jni_gen/examples/pdfbox_plugin/example/lib/main.dart
Expand Up @@ -15,12 +15,11 @@ import 'package:pdfbox_plugin/third_party/org/apache/pdfbox/pdmodel.dart';
Stream<String> files(String dir) => Directory(dir).list().map((e) => e.path);

late Jni jni;
const jarError =
'No JAR files were found.\n'
'Run `dart run jni_gen:download_maven_jars --config jnigen.yaml` '
'in plugin directory.\n'
'Alternatively, regenerate JNI bindings in plugin directory, which will '
'automatically download the JAR files.';
const jarError = 'No JAR files were found.\n'
'Run `dart run jni_gen:download_maven_jars --config jnigen.yaml` '
'in plugin directory.\n'
'Alternatively, regenerate JNI bindings in plugin directory, which will '
'automatically download the JAR files.';

void main() {
if (!Platform.isAndroid) {
Expand Down

0 comments on commit 8c0bf0e

Please sign in to comment.