From 87500a54ac103e5cefe7d87ccf8dbe27961da71a Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Mon, 4 Sep 2006 11:34:06 +0000 Subject: [PATCH] Removed some unneeded fields --- .../service/history/event/ProgressEvent.java | 40 ++----------------- 1 file changed, 4 insertions(+), 36 deletions(-) diff --git a/src/net/java/sip/communicator/service/history/event/ProgressEvent.java b/src/net/java/sip/communicator/service/history/event/ProgressEvent.java index 22d2f61b0..830b66468 100644 --- a/src/net/java/sip/communicator/service/history/event/ProgressEvent.java +++ b/src/net/java/sip/communicator/service/history/event/ProgressEvent.java @@ -33,21 +33,11 @@ public class ProgressEvent */ private Date endDate = null; - /** - * The keyword in the search condition. - */ - private String keyword = null; - /** * The keywords in the search condition. */ private String[] keywords = null; - /** - * The number of last messages in the search condition. - */ - private int last = -1; - /** * The current progress that we will pass. */ @@ -59,14 +49,13 @@ public class ProgressEvent * @param source Object The source firing this event * @param startDate Date The start date in the search condition. * @param endDate Date The end date in the search condition. - * @param keyword String The keyword in the search condition. * @param keywords String[] The keywords in the search condition. * @param last int The number of last messages in the search condition. * @param progress int The current progress that we will pass. */ public ProgressEvent(Object source, Date startDate, Date endDate, - String keyword, String[] keywords, + String[] keywords, int last, int progress) { @@ -74,9 +63,7 @@ public ProgressEvent(Object source, this.startDate = startDate; this.endDate = endDate; - this.keyword = keyword; this.keywords = keywords; - this.last = last; this.progress = progress; } @@ -86,14 +73,13 @@ public ProgressEvent(Object source, * @param source Object The source firing this event * @param startDate Date The start date in the search condition. * @param endDate Date The end date in the search condition. - * @param keyword String The keyword in the search condition. * @param keywords String[] The keywords in the search condition. */ public ProgressEvent(Object source, Date startDate, Date endDate, - String keyword, String[] keywords) + String[] keywords) { - this(source, startDate, endDate, keyword, keywords, -1, 0); + this(source, startDate, endDate, keywords, -1, 0); } /** @@ -105,7 +91,7 @@ public ProgressEvent(Object source, */ public ProgressEvent(Object source, Date startDate, Date endDate) { - this(source, startDate, endDate, null, null, -1, 0); + this(source, startDate, endDate, null, -1, 0); } /** @@ -126,15 +112,6 @@ public Date getEndDate() return endDate; } - /** - * The keyword in the search condition. - * @return String keyword for searching - */ - public String getKeyword() - { - return keyword; - } - /** * The keywords in the search condition. * @return String[] array of keywords fo searching @@ -144,15 +121,6 @@ public String[] getKeywords() return keywords; } - /** - * The number of last messages in the search condition. - * @return int number of last messages - */ - public int getLast() - { - return last; - } - /** * The start date in the search condition. * @return Date start date value