job = new Job(log, stepLoader, repository, jobMeta);
}
else
if ("Y".equalsIgnoreCase(optionListjobs.toString()))
{
<BUG>if(log.isDebug())log.logDebug(STRING_KITCHEN, "Getting list of jobs in directory: "+directory);
</BUG>
String jobnames[] = repository.getJobNames(directory.getID());
for (int i=0;i<jobnames.length;i++)
{

job = new Job(log, stepLoader, repository, jobMeta);
}
else
if ("Y".equalsIgnoreCase(optionListjobs.toString()))
{
if(log.isDebug())log.logDebug(STRING_KITCHEN, Messages.getString("Kitchen.Log.GettingLostJobsInDirectory",""+directory));
String jobnames[] = repository.getJobNames(directory.getID());
for (int i=0;i<jobnames.length;i++)
{
