Javadoc fixes.

This commit is contained in:
Erik C. Thauvin 2003-10-18 01:27:02 +00:00
parent 70a2b27c07
commit b1e97d1c28
2 changed files with 9 additions and 7 deletions

View file

@ -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)
{

View file

@ -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";
}
/**