add TODOs for Resource.combine
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
parent
20bab8a471
commit
08f344e7f6
|
@ -59,6 +59,7 @@ public abstract class Resource
|
||||||
* @return A Resource of multiple resources.
|
* @return A Resource of multiple resources.
|
||||||
* @see ResourceCollection
|
* @see ResourceCollection
|
||||||
*/
|
*/
|
||||||
|
// TODO this should be moved to ResourceFactory
|
||||||
public static ResourceCollection combine(List<Resource> resources)
|
public static ResourceCollection combine(List<Resource> resources)
|
||||||
{
|
{
|
||||||
if (resources == null || resources.isEmpty())
|
if (resources == null || resources.isEmpty())
|
||||||
|
@ -72,6 +73,7 @@ public abstract class Resource
|
||||||
* @return A Resource of multiple resources.
|
* @return A Resource of multiple resources.
|
||||||
* @see ResourceCollection
|
* @see ResourceCollection
|
||||||
*/
|
*/
|
||||||
|
// TODO this should be moved to ResourceFactory
|
||||||
public static ResourceCollection combine(Resource... resources)
|
public static ResourceCollection combine(Resource... resources)
|
||||||
{
|
{
|
||||||
if (resources == null || resources.length == 0)
|
if (resources == null || resources.length == 0)
|
||||||
|
|
Loading…
Reference in New Issue