Skip to content

Commit a9f76e2

Browse files
author
Ann Witbrock
committed
parameter layout
1 parent aae2c59 commit a9f76e2

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

java/EmitLogDirect.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ public static void main(String[] argv)
2020
String severity = getSeverity(argv);
2121
String message = getMessage(argv);
2222

23-
channel.basicPublish( EXCHANGE_NAME, severity,
24-
null,
25-
message.getBytes());
23+
channel.basicPublish(EXCHANGE_NAME, severity, null, message.getBytes());
2624
System.out.println(" [x] Sent '" + severity + "':'" + message + "'");
2725

2826
channel.close();

java/EmitLogTopic.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ public static void main(String[] argv)
2020
String routingKey = getRouting(argv);
2121
String message = getMessage(argv);
2222

23-
channel.basicPublish( EXCHANGE_NAME, routingKey,
24-
null,
25-
message.getBytes());
23+
channel.basicPublish(EXCHANGE_NAME, routingKey, null, message.getBytes());
2624
System.out.println(" [x] Sent '" + routingKey + "':'" + message + "'");
2725

2826
channel.close();

0 commit comments

Comments
 (0)