for (Reference ref : getVariantsReferences(false))
for (Reference ref : getVariantsReferences())
	public List<Representation> getVariants()	{		List<Representation> result = super.getVariants();		getLogger().info("Getting variants for : " + getTargetUri());		if (this.directoryContent != null)		{			if (this.baseName != null)			{				for (Reference ref : getVariantsReferences(false))				{					//Add the new variant to the result list					Response contextResponse = getDispatcher().get(ref.toString());					if (contextResponse.getStatus().isSuccess()							&& (contextResponse.getEntity() != null))					{						result.add(contextResponse.getEntity());					}				}			}			if (result.size() == 0)			{				if (this.targetDirectory && getDirectory().isListingAllowed())				{					ReferenceList userList = new ReferenceList(this.directoryContent.size());					// Compute the base reference (from a call's client point of view) 					String baseRef = this.request.getBaseRef().toString(false, false);					if (!baseRef.endsWith("/"))					{						baseRef += "/";					}					baseRef += this.relativePart;					// Set the list base reference					userList.setListRef(baseRef);					String filePath;					int rootLength = getDirectoryUri().length();					for (Reference ref : this.directoryContent)					{						filePath = ref.toString(false, false).substring(rootLength);						userList.add(baseRef + filePath);					}					result = getDirectory().getDirectoryVariants(userList);				}			}		}		return result;	}