package com.beetle.bauhinia.db;
import com.beetle.im.IMMessage;
<BUG>import java.util.Date;</BUG>
public class PeerMessageHandler implements com.beetle.im.PeerMessageHandler {
private static PeerMessageHandler instance = new PeerMessageHandler();
public static PeerMessageHandler getInstance() {
return instance;
<BUG>}
public static int now() {
Date date = new Date();
long t = date.getTime();
return (int)(t/1000);</BUG>
}

package com.beetle.bauhinia.db;
import com.beetle.im.IMMessage;
public class PeerMessageHandler implements com.beetle.im.PeerMessageHandler {
private static PeerMessageHandler instance = new PeerMessageHandler();
public static PeerMessageHandler getInstance() {
return instance;
}
