Merge "Issue #1893 Switch machine to be LOCAL instead of using RuntimeMXBean" into omaha_13.4.1
Former-commit-id:429d562563
[formerly060cf5b326
] [formerlya31dec3cc8
[formerly 203a91a2d673329199e9fecc8bf2f171bd524cc2]] Former-commit-id:a31dec3cc8
Former-commit-id:558812ff6e
This commit is contained in:
commit
148776865f
1 changed files with 5 additions and 1 deletions
|
@ -48,6 +48,8 @@ import com.raytheon.uf.common.status.UFStatus.Priority;
|
||||||
* Nov 11,2010 2235 cjeanbap Added attribute, audioFile.
|
* Nov 11,2010 2235 cjeanbap Added attribute, audioFile.
|
||||||
* Feb 7,2011 6329 rferrel Checks to make sure details
|
* Feb 7,2011 6329 rferrel Checks to make sure details
|
||||||
* and message are never null.
|
* and message are never null.
|
||||||
|
* Apr 10, 2013 1893 bsteffen Switch machine to be LOCAL instead of
|
||||||
|
* using RuntimeMXBean
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -63,6 +65,8 @@ public class StatusMessage implements ISerializableObject, IMessage {
|
||||||
|
|
||||||
private static final int MAX_MESSAGE_LENGTH = 1024;
|
private static final int MAX_MESSAGE_LENGTH = 1024;
|
||||||
|
|
||||||
|
private static final String LOCAL = "LOCAL";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The source of the message
|
* The source of the message
|
||||||
*/
|
*/
|
||||||
|
@ -161,7 +165,7 @@ public class StatusMessage implements ISerializableObject, IMessage {
|
||||||
this.category = category;
|
this.category = category;
|
||||||
this.priority = priority;
|
this.priority = priority;
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
this.setMachineToCurrent();
|
this.setMachine(LOCAL);
|
||||||
buildMessageAndDetails(message, throwable, this);
|
buildMessageAndDetails(message, throwable, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue