From 9c5a0ff10f913b466216d9e938b31561846b81e6 Mon Sep 17 00:00:00 2001 From: Kiran Date: Tue, 11 Oct 2016 03:30:54 -0400 Subject: [PATCH] Removed unnecessary code and SOP statements (#736) --- .../java/com/baeldung/spring/jms/SampleJmsMessageSender.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spring-jms/src/main/java/com/baeldung/spring/jms/SampleJmsMessageSender.java b/spring-jms/src/main/java/com/baeldung/spring/jms/SampleJmsMessageSender.java index 1ef3902a31..cfbfc77a75 100644 --- a/spring-jms/src/main/java/com/baeldung/spring/jms/SampleJmsMessageSender.java +++ b/spring-jms/src/main/java/com/baeldung/spring/jms/SampleJmsMessageSender.java @@ -24,10 +24,6 @@ public class SampleJmsMessageSender { } public void sendMessage(final Employee employee) { - System.out.println("Jms Message Sender : " + employee); - Map map = new HashMap<>(); - map.put("name", employee.getName()); - map.put("age", employee.getAge()); this.jmsTemplate.convertAndSend(map); } }