Merge "Issue #1893 Switch machine to be LOCAL instead of using RuntimeMXBean" into omaha_13.4.1

Former-commit-id: a31dec3cc8 [formerly 203a91a2d673329199e9fecc8bf2f171bd524cc2]
Former-commit-id: 060cf5b326
This commit is contained in:
Richard Peter 2013-04-10 14:40:36 -05:00 committed by Gerrit Code Review
commit 429d562563

View file

@ -48,6 +48,8 @@ import com.raytheon.uf.common.status.UFStatus.Priority;
* Nov 11,2010 2235 cjeanbap Added attribute, audioFile.
* Feb 7,2011 6329 rferrel Checks to make sure details
* and message are never null.
* Apr 10, 2013 1893 bsteffen Switch machine to be LOCAL instead of
* using RuntimeMXBean
*
* </pre>
*
@ -63,6 +65,8 @@ public class StatusMessage implements ISerializableObject, IMessage {
private static final int MAX_MESSAGE_LENGTH = 1024;
private static final String LOCAL = "LOCAL";
/**
* The source of the message
*/
@ -161,7 +165,7 @@ public class StatusMessage implements ISerializableObject, IMessage {
this.category = category;
this.priority = priority;
this.plugin = plugin;
this.setMachineToCurrent();
this.setMachine(LOCAL);
buildMessageAndDetails(message, throwable, this);
}