Skip to content

Commit 7d929b4

Browse files
committed
Review fixes
1 parent 1284dff commit 7d929b4

File tree

1 file changed

+3
-1
lines changed
  • java/Ice/customError/client/src/main/java/com/example/ice/customerror/client

1 file changed

+3
-1
lines changed

java/Ice/customError/client/src/main/java/com/example/ice/customerror/client/Client.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ public static void main(String[] args) {
1818
// Java applications that unmarshal classes or exceptions, when the classes/exceptions or their enclosing
1919
// module(s) are remapped using java:identifier, like in this demo.
2020
var initData = new InitializationData();
21-
initData.properties = new Properties(args);
2221
initData.sliceLoader = new ClassSliceLoader(GreeterException.class);
2322

23+
// Parse command-line arguments into properties.
24+
initData.properties = new Properties(args);
25+
2426
// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
2527
try (Communicator communicator = Util.initialize(initData)) {
2628

0 commit comments

Comments
 (0)