Skip to content

Commit

Permalink
split too long lines to short lines
Browse files Browse the repository at this point in the history
  • Loading branch information
sendaoYan committed Sep 5, 2024
1 parent 8c03946 commit 2ed8cb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ static void test(Path top) throws IOException {
} else if (Platform.isLinux()) {
// Creation time read depends on statx system call support
try {
supportsCreationTimeRead = CreationTimeHelper.linuxIsCreationTimeSupported(file.toAbsolutePath().toString());
supportsCreationTimeRead = CreationTimeHelper.
linuxIsCreationTimeSupported(file.toAbsolutePath().toString());
} catch (Throwable e) {
supportsCreationTimeRead = false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public class CreationTimeHelper extends NativeTestHelper {

final static Linker abi = Linker.nativeLinker();
static final SymbolLookup lookup = SymbolLookup.loaderLookup();
final static MethodHandle methodHandle = abi.downcallHandle(lookup.findOrThrow("linuxIsCreationTimeSupported"),
final static MethodHandle methodHandle = abi.
downcallHandle(lookup.findOrThrow("linuxIsCreationTimeSupported"),
FunctionDescriptor.of(C_BOOL, C_POINTER));

// Helper so as to determine 'statx' support on the runtime system
Expand Down

0 comments on commit 2ed8cb6

Please sign in to comment.