From 2d2b1d624d0be86f7b1f7fbd7b442808e8abbb07 Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Thu, 17 Oct 2024 16:42:03 -0400 Subject: [PATCH] Reformat --- .../src/main/java/com/zeroc/Ice/Properties.java | 4 ++-- .../main/java/com/zeroc/Ice/ValueFactory.java | 16 +++++++--------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/java/src/Ice/src/main/java/com/zeroc/Ice/Properties.java b/java/src/Ice/src/main/java/com/zeroc/Ice/Properties.java index c4e9be62c5e..6eae2369191 100644 --- a/java/src/Ice/src/main/java/com/zeroc/Ice/Properties.java +++ b/java/src/Ice/src/main/java/com/zeroc/Ice/Properties.java @@ -438,8 +438,8 @@ public String[] parseCommandLineOptions(String prefix, String[] options) { /** * Convert a sequence of command-line options into properties. All options that begin with one * of the following prefixes are converted into properties: --Ice, --IceBox - * , --IceGrid, --Ice.SSL, --IceStorm, and - * --Glacier2. + * , --IceGrid, --Ice.SSL, --IceStorm, and + * --Glacier2. * * @param options The command-line options. * @return The command-line options that do not start with one of the listed prefixes, in their diff --git a/java/src/Ice/src/main/java/com/zeroc/Ice/ValueFactory.java b/java/src/Ice/src/main/java/com/zeroc/Ice/ValueFactory.java index d56fa18dd81..4c7d0c87db3 100644 --- a/java/src/Ice/src/main/java/com/zeroc/Ice/ValueFactory.java +++ b/java/src/Ice/src/main/java/com/zeroc/Ice/ValueFactory.java @@ -2,20 +2,18 @@ package com.zeroc.Ice; -/** - * A factory for class instances. - */ +/** A factory for class instances. */ @FunctionalInterface public interface ValueFactory { /** - * Create a new instance for a given Slice class. The type is the absolute Slice type id, i.e., the - * id relative to the unnamed top-level Slice module. For example, the absolute Slice type id - * for an interface Bar in the module Foo is "::Foo::Bar" - * . Note that the leading "::" is required. + * Create a new instance for a given Slice class. The type is the absolute Slice type id, i.e., + * the id relative to the unnamed top-level Slice module. For example, the absolute Slice type + * id for an interface Bar in the module Foo is "::Foo::Bar" + * . Note that the leading "::" is required. * * @param type The Slice type ID. - * @return The class instance created for the given type, or nil if the factory is unable to create the - * value. + * @return The class instance created for the given type, or nil if the factory is unable to + * create the value. */ Value create(String type); }