From 2ed8cb682944b7fd7df59d35ef778c16a04003fe Mon Sep 17 00:00:00 2001 From: sendaoYan Date: Thu, 5 Sep 2024 16:32:53 +0800 Subject: [PATCH] split too long lines to short lines --- .../file/attribute/BasicFileAttributeView/CreationTime.java | 3 ++- .../attribute/BasicFileAttributeView/CreationTimeHelper.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTime.java b/test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTime.java index 4e23b4828bdca..45e6564d95268 100644 --- a/test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTime.java +++ b/test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTime.java @@ -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; } diff --git a/test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTimeHelper.java b/test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTimeHelper.java index 43d737c2ba003..186ec865620a3 100644 --- a/test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTimeHelper.java +++ b/test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTimeHelper.java @@ -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