You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ad...@apache.org on 2018/06/25 10:03:32 UTC

[ambari] branch trunk updated: AMBARI-22734. Wrong placeholder in format string (#1436)

This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 6e849e9  AMBARI-22734. Wrong placeholder in format string (#1436)
6e849e9 is described below

commit 6e849e91e751439c79bd44a614ded9aaf43ce094
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Mon Jun 25 12:03:25 2018 +0200

    AMBARI-22734. Wrong placeholder in format string (#1436)
---
 .../apache/ambari/server/MessageDestinationIsNotDefinedException.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-server/src/main/java/org/apache/ambari/server/MessageDestinationIsNotDefinedException.java b/ambari-server/src/main/java/org/apache/ambari/server/MessageDestinationIsNotDefinedException.java
index 1df1f21..f4b4b32 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/MessageDestinationIsNotDefinedException.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/MessageDestinationIsNotDefinedException.java
@@ -24,6 +24,6 @@ import org.apache.ambari.server.events.STOMPEvent;
 public class MessageDestinationIsNotDefinedException extends ObjectNotFoundException {
 
   public MessageDestinationIsNotDefinedException(STOMPEvent.Type eventType) {
-    super(String.format("No destination defined for message with {} type", eventType));
+    super(String.format("No destination defined for message with %s type", eventType));
   }
 }