Commit b2064c00 authored by deleolajide's avatar deleolajide

jmxweb plugin - removed commented code

parent 8f3438f4
...@@ -47,8 +47,6 @@ public class EmailScheduler implements Job { ...@@ -47,8 +47,6 @@ public class EmailScheduler implements Job {
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException { public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
Log.info( "Email Monitoring Running"); Log.info( "Email Monitoring Running");
try { try {
/*EmailService.getInstance().sendMessage(user.getName(), user.getEmail(), "Openfire",
"no_reply@" + violationNotificationFrom.getDomain(), subject, body, null);*/
EmailSenderUtility emailSenderUtility = new EmailSenderUtility(); EmailSenderUtility emailSenderUtility = new EmailSenderUtility();
emailSenderUtility.sendEmail(); emailSenderUtility.sendEmail();
} }
......
...@@ -14,7 +14,6 @@ import org.jivesoftware.openfire.XMPPServer; ...@@ -14,7 +14,6 @@ import org.jivesoftware.openfire.XMPPServer;
public class HttpClient { public class HttpClient {
private static Logger Log = LoggerFactory.getLogger("JmxWebPlugin:HttpClient"); private static Logger Log = LoggerFactory.getLogger("JmxWebPlugin:HttpClient");
// http://localhost:7070/jolokia/read/java.lang:type=Memory/HeapMemoryUsage
StringBuilder resultString = new StringBuilder(""); StringBuilder resultString = new StringBuilder("");
String line=""; String line="";
public String getMemoryData(){ public String getMemoryData(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment