File tree Expand file tree Collapse file tree
src/main/java/org/arkecosystem/crypto/signature/bls Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ private Boolean sourceExist(String sourceName) {
3838 }
3939 return false ;
4040 }
41-
41+
4242 public void prepare () {
4343 for (String s : sources ) {
4444 copy (s );
@@ -50,15 +50,22 @@ public Boolean copy(String sourceName) {
5050 return true ;
5151 } else {
5252 try {
53- String [] libraryPaths = System .getProperty ("java.library.path" ).split (File .pathSeparator );
54- File f = new File (libraryPaths [0 ], sourceName ); // Using the first path in java.library.path
53+ String [] libraryPaths =
54+ System .getProperty ("java.library.path" ).split (File .pathSeparator );
55+ File f =
56+ new File (
57+ libraryPaths [0 ],
58+ sourceName ); // Using the first path in java.library.path
5559 if (!f .exists ()) {
5660 f .createNewFile ();
5761 System .out .println ("[JNIDEV]:DEFAULT JNI INITION:" + sourceName );
5862 }
5963 FileOutputStream os = new FileOutputStream (f );
6064
61- InputStream is = getClass ().getResourceAsStream ("/" + sourceName ); // Modified to add leading slash
65+ InputStream is =
66+ getClass ()
67+ .getResourceAsStream (
68+ "/" + sourceName ); // Modified to add leading slash
6269 if (is == null ) {
6370 os .close ();
6471 return false ;
You can’t perform that action at this time.
0 commit comments