This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch GROOVY_2_4_X in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 76cad44a66d25ae8bfcbfa729a79ab57949a9a25 Author: Paul King <[email protected]> AuthorDate: Fri Nov 20 13:27:28 2020 +1000 formatting --- .../groovy/runtime/DefaultGroovyStaticMethods.java | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/main/org/codehaus/groovy/runtime/DefaultGroovyStaticMethods.java b/src/main/org/codehaus/groovy/runtime/DefaultGroovyStaticMethods.java index 1c85e91..4732ddf 100644 --- a/src/main/org/codehaus/groovy/runtime/DefaultGroovyStaticMethods.java +++ b/src/main/org/codehaus/groovy/runtime/DefaultGroovyStaticMethods.java @@ -299,16 +299,15 @@ public class DefaultGroovyStaticMethods { return tempFile; } - /** - * Get the current time in seconds - * - * @param self placeholder variable used by Groovy categories; ignored for default static methods - * @return the difference, measured in seconds, between - * the current time and midnight, January 1, 1970 UTC. - * @see System#currentTimeMillis() - */ - public static long currentTimeSeconds(System self){ - return System.currentTimeMillis() / 1000; - } + /** + * Get the current time in seconds + * + * @param self placeholder variable used by Groovy categories; ignored for default static methods + * @return the difference, measured in seconds, between the current time and midnight, January 1, 1970 UTC. + * @see System#currentTimeMillis() + */ + public static long currentTimeSeconds(System self) { + return System.currentTimeMillis() / 1000; + } }
