diff --git a/google-taglib/src/net/thauvin/google/taglibs/Search.java b/google-taglib/src/net/thauvin/google/taglibs/Search.java index c8b1f43..8308f26 100644 --- a/google-taglib/src/net/thauvin/google/taglibs/Search.java +++ b/google-taglib/src/net/thauvin/google/taglibs/Search.java @@ -47,7 +47,7 @@ import javax.servlet.jsp.PageContext; * * @author Erik C. Thauvin * @created April 25, 2002 - * @version $Revision$ + * @version $Revision$, $Date$ * @since 1.0 */ public class Search extends QuerySupport @@ -161,6 +161,7 @@ public class Search extends QuerySupport * Sets the (file) type attribute * * @param type The new attribute value. + * @since 1.0.1 */ public final void setType(String type) { diff --git a/google-taglib/src/net/thauvin/google/taglibs/SearchQuery.java b/google-taglib/src/net/thauvin/google/taglibs/SearchQuery.java index 47da919..776b4d8 100644 --- a/google-taglib/src/net/thauvin/google/taglibs/SearchQuery.java +++ b/google-taglib/src/net/thauvin/google/taglibs/SearchQuery.java @@ -44,7 +44,7 @@ import net.thauvin.google.TagUtility; * * @author Erik C. Thauvin * @created April 29, 2002 - * @version $Revision$ + * @version $Revision$, $Date$ * @since 1.0 */ public class SearchQuery extends SearchResultSupport @@ -55,6 +55,7 @@ public class SearchQuery extends SearchResultSupport * Sets the type attribute * * @param type The new attribute value. + * @since 1.0.1 */ public final void setType(String type) { @@ -78,12 +79,12 @@ public class SearchQuery extends SearchResultSupport */ protected String getPropertyName() { - if (TagUtility.isValidString(type) && type.equalsIgnoreCase("full")) - { - return "searchQuery"; - } + if (TagUtility.isValidString(type) && type.equalsIgnoreCase("full")) + { + return "searchQuery"; + } - return "searchKeywords"; + return "searchKeywords"; } /**