boolean b = false;
if (obj1 == null || pattern == null) { if( obj1 == null && pattern == null) return true; else return false; }  boolean result = false;
	private static boolean like( Object obj1, Object pattern ) throws DataException	{		boolean b = false;		try		{			Pattern p = Pattern.compile( pattern.toString( ) );			Matcher m = p.matcher( obj1.toString( ) );			b = m.matches( );		}		catch ( RuntimeException e )		{			throw new DataException( ResourceConstants.MATCH_ERROR, e );		}		return b;	}