From 9b7242eeb6aa381b0a978bc5989f1f92dfaf3822 Mon Sep 17 00:00:00 2001 From: hristoterezov Date: Mon, 17 Feb 2014 13:55:58 +0200 Subject: [PATCH] Fixes auto generated catch clauses. --- .../impl/callhistory/CallHistoryServiceImpl.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java b/src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java index 106ce5d1a..a4723689d 100644 --- a/src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java +++ b/src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java @@ -1115,8 +1115,7 @@ public void updateCallRecordPeerSecondaryAddress(final Date date, } catch (IOException e) { - // TODO Auto-generated catch block - e.printStackTrace(); + logger.warn("Failed to get the history object."); return; } HistoryWriter historyWriter = history.getWriter(); @@ -1177,8 +1176,7 @@ public boolean isMatching() } catch (ParseException e) { - // TODO Auto-generated catch block - e.printStackTrace(); + logger.warn("Failed to parse the date."); return false; } @@ -1225,8 +1223,7 @@ public Map getUpdateChanges() } catch (IOException e) { - // TODO Auto-generated catch block - e.printStackTrace(); + logger.warn("Failed to update the record."); } }