Skip to content

Commit f3693ac

Browse files
alfonsobriesgithub-actions[bot]
authored andcommitted
style: resolve style guide violations
1 parent 972ab8e commit f3693ac

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

  • src/main/java/org/arkecosystem/crypto/signature/bls

src/main/java/org/arkecosystem/crypto/signature/bls/JNIEnv.java

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)