Fix #141

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
The test should check for . + extension

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Refactoring

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Indicate in the javadoc the time unit (second)

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Check that we can compute the download url correctly.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Avoid the creation of multiple empty strings.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Check for 'extension' and . + 'extension'

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>