moved IDUtils to the utils package and out of the core package - this pretty

well finishes the cleanup of the core package, getting all the cruft out
This commit is contained in:
Eric J. Bowersox 2001-11-24 06:44:58 +00:00
parent 4e251e72e1
commit a7b07292dd
9 changed files with 29 additions and 8 deletions

View File

@ -19,8 +19,8 @@ package com.silverwrist.venice.db;
import java.sql.*;
import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.core.IDUtils;
import com.silverwrist.venice.except.ValidationException;
import com.silverwrist.venice.util.IDUtils;
public class PostLinkDecoder
{

View File

@ -22,8 +22,8 @@ import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.htmlcheck.Rewriter;
import com.silverwrist.venice.htmlcheck.RewriterServices;
import com.silverwrist.venice.htmlcheck.MarkupData;
import com.silverwrist.venice.core.IDUtils;
import com.silverwrist.venice.except.ValidationException;
import com.silverwrist.venice.util.IDUtils;
public class PostLinkRewriter implements Rewriter
{

View File

@ -22,7 +22,7 @@ import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.htmlcheck.Rewriter;
import com.silverwrist.venice.htmlcheck.RewriterServices;
import com.silverwrist.venice.htmlcheck.MarkupData;
import com.silverwrist.venice.core.IDUtils;
import com.silverwrist.venice.util.IDUtils;
public class UserNameRewriter implements Rewriter
{

View File

@ -26,6 +26,7 @@ import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.core.*;
import com.silverwrist.venice.except.*;
import com.silverwrist.venice.servlets.format.*;
import com.silverwrist.venice.util.IDUtils;
public class ConfOperations extends VeniceServlet
{

View File

@ -17,8 +17,8 @@
*/
package com.silverwrist.venice.servlets.format;
import com.silverwrist.venice.core.IDUtils;
import com.silverwrist.venice.except.ValidationException;
import com.silverwrist.venice.util.IDUtils;
public class CDEmailAddressFormField extends CDTextFormField
{

View File

@ -17,8 +17,8 @@
*/
package com.silverwrist.venice.servlets.format;
import com.silverwrist.venice.core.IDUtils;
import com.silverwrist.venice.except.ValidationException;
import com.silverwrist.venice.util.IDUtils;
public class CDVeniceIDFormField extends CDTextFormField
{

View File

@ -26,13 +26,13 @@ import org.apache.log4j.*;
import com.silverwrist.util.IOUtil;
import com.silverwrist.util.StringUtil;
import com.silverwrist.venice.core.CommunityContext;
import com.silverwrist.venice.core.IDUtils;
import com.silverwrist.venice.core.UserContext;
import com.silverwrist.venice.core.VeniceEngine;
import com.silverwrist.venice.db.PostLinkRewriter;
import com.silverwrist.venice.db.UserNameRewriter;
import com.silverwrist.venice.except.DataException;
import com.silverwrist.venice.servlets.format.menus.LeftMenu;
import com.silverwrist.venice.util.IDUtils;
public class RenderData implements ColorSelectors
{

View File

@ -17,13 +17,23 @@
*/
package com.silverwrist.venice.servlets.format;
import com.silverwrist.venice.core.IDUtils;
import com.silverwrist.venice.except.*;
import com.silverwrist.venice.util.IDUtils;
public class VerifyEmailDialog extends ContentDialog
{
/*--------------------------------------------------------------------------------
* Attributes
*--------------------------------------------------------------------------------
*/
int confirm_num = 0;
/*--------------------------------------------------------------------------------
* Constructors
*--------------------------------------------------------------------------------
*/
public VerifyEmailDialog()
{
super("Verify E-mail Address",null,"verifyform","account");
@ -46,6 +56,11 @@ public class VerifyEmailDialog extends ContentDialog
} // end constructor
/*--------------------------------------------------------------------------------
* Overrides from class ContentDialog
*--------------------------------------------------------------------------------
*/
protected void validateWholeForm() throws ValidationException
{
try
@ -66,6 +81,11 @@ public class VerifyEmailDialog extends ContentDialog
} // end validateWholeForm
/*--------------------------------------------------------------------------------
* External operations
*--------------------------------------------------------------------------------
*/
public void setTarget(String target)
{
setHiddenField("tgt",target);

View File

@ -15,7 +15,7 @@
*
* Contributor(s):
*/
package com.silverwrist.venice.core;
package com.silverwrist.venice.util;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.AddressException;