Issue #1893 Switch machine to be LOCAL instead of using RuntimeMXBean

Former-commit-id: d0070fcec4 [formerly f9eb42deebaab88fb9f1bbee54537e62acdc72fa]
Former-commit-id: d727b93273
This commit is contained in:
Ben Steffensmeier 2013-04-10 14:08:05 -05:00
parent 71b443b525
commit 26b8938242

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);
}