[Javamatch-cvs] javamatch/src/net/sourceforge/javamatch/query QuerySet.java,1.1,1.2
Status: Pre-Alpha
Brought to you by:
iterson
From: Walter v. I. <it...@us...> - 2004-09-13 13:39:33
|
Update of /cvsroot/javamatch/javamatch/src/net/sourceforge/javamatch/query In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22101/src/net/sourceforge/javamatch/query Modified Files: QuerySet.java Log Message: Remove "Query" from addRequired and addPreferred Index: QuerySet.java =================================================================== RCS file: /cvsroot/javamatch/javamatch/src/net/sourceforge/javamatch/query/QuerySet.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** QuerySet.java 13 Sep 2004 11:32:19 -0000 1.1 --- QuerySet.java 13 Sep 2004 13:39:23 -0000 1.2 *************** *** 46,51 **** * @param query the subquery that is added to the list of preferred queries */ ! public void addPreferredQuery(MatchQuery query) { ! addPreferredQuery(query, 1f); } --- 46,51 ---- * @param query the subquery that is added to the list of preferred queries */ ! public void addPreferred(MatchQuery query) { ! addPreferred(query, 1f); } *************** *** 56,60 **** * @param weight the relative weight of this subquery */ ! public void addPreferredQuery(MatchQuery query, float weight) { if (query == null) { throw new NullPointerException("Can't add a null query"); --- 56,60 ---- * @param weight the relative weight of this subquery */ ! public void addPreferred(MatchQuery query, float weight) { if (query == null) { throw new NullPointerException("Can't add a null query"); *************** *** 67,71 **** * @param query the subquery that is added to the list of required queries */ ! public void addRequiredQuery(MatchQuery query) { if (query == null) { throw new NullPointerException("Can't add a null query"); --- 67,71 ---- * @param query the subquery that is added to the list of required queries */ ! public void addRequired(MatchQuery query) { if (query == null) { throw new NullPointerException("Can't add a null query"); |