add TODOs for Resource.combine

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
Ludovic Orban 2022-08-11 12:03:13 +02:00
parent 20bab8a471
commit 08f344e7f6
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ public abstract class Resource
* @return A Resource of multiple resources.
* @see ResourceCollection
*/
// TODO this should be moved to ResourceFactory
public static ResourceCollection combine(List<Resource> resources)
{
if (resources == null || resources.isEmpty())
@ -72,6 +73,7 @@ public abstract class Resource
* @return A Resource of multiple resources.
* @see ResourceCollection
*/
// TODO this should be moved to ResourceFactory
public static ResourceCollection combine(Resource... resources)
{
if (resources == null || resources.length == 0)