Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Oct 17, 2024
1 parent 81f04e7 commit 2d2b1d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions java/src/Ice/src/main/java/com/zeroc/Ice/Properties.java
Original file line number Diff line number Diff line change
Expand Up @@ -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: <code>--Ice</code>, <code>--IceBox
* </code> , <code>--IceGrid</code>, <code>--Ice.SSL</code>, <code>--IceStorm</code>, and
* <code>--Glacier2</code>.
* </code> , <code>--IceGrid</code>, <code>--Ice.SSL</code>, <code>--IceStorm</code>, and <code>
* --Glacier2</code>.
*
* @param options The command-line options.
* @return The command-line options that do not start with one of the listed prefixes, in their
Expand Down
16 changes: 7 additions & 9 deletions java/src/Ice/src/main/java/com/zeroc/Ice/ValueFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 <code>Bar</code> in the module <code>Foo</code> is <code>"::Foo::Bar"</code>
* . Note that the leading "<code>::</code>" 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 <code>Bar</code> in the module <code>Foo</code> is <code>"::Foo::Bar"
* </code> . Note that the leading "<code>::</code>" 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);
}

0 comments on commit 2d2b1d6

Please sign in to comment.