just added some comments

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@178598 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-03-15 11:37:14 +00:00
parent d375c91890
commit 2b09f79962
2 changed files with 8 additions and 1 deletions

View File

@ -16,6 +16,12 @@ import org.gcube.datatransfer.resolver.services.error.ExceptionManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* TODO
* EASTER EGG - TO BE REMOVED
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
*
*/
@Path("cr7huevos")
public class CR7Huevos {
@ -29,7 +35,7 @@ public class CR7Huevos {
String indexFile = "/WEB-INF/jsp/cr7huevos.jsp";
try{
logger.info(CR7Huevos.class.getSimpleName() +" called");
logger.info("Easter EGG called :-) - TO BE REMOVE");
String realPath = req.getServletContext().getRealPath(indexFile);
return new FileInputStream(new File(realPath));
}catch (Exception e) {

View File

@ -1,3 +1,4 @@
<!-- EASTER EGG - TO BE REMOVED -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>