myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch master updated: cosmetics
Date Wed, 05 Dec 2018 18:14:39 GMT
This is an automated email from the ASF dual-hosted git repository.

tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/master by this push:
     new 75d2b68  cosmetics
75d2b68 is described below

commit 75d2b68dcfd44992240e3544473250bfb5b0cdca
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Wed Dec 5 19:14:39 2018 +0100

    cosmetics
---
 .../myfaces/view/facelets/impl/DefaultResourceResolver.java    | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/impl/DefaultResourceResolver.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/impl/DefaultResourceResolver.java
index 8238d73..cff1cd0 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/impl/DefaultResourceResolver.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/impl/DefaultResourceResolver.java
@@ -34,6 +34,7 @@ public class DefaultResourceResolver extends ResourceResolver
         super();
     }
 
+    @Override
     public URL resolveUrl(String path)
     {
         return resolveUrl(FacesContext.getCurrentInstance(), path);
@@ -41,15 +42,6 @@ public class DefaultResourceResolver extends ResourceResolver
     
     public URL resolveUrl(FacesContext facesContext, String path)
     {
-        /*
-        try
-        {
-            return Resource.getResourceUrl(FacesContext.getCurrentInstance(), path);
-        }
-        catch (IOException e)
-        {
-            throw new FacesException(e);
-        }*/
         ViewResource resource = facesContext.getApplication().
             getResourceHandler().createViewResource(facesContext, path);
         //return resource == null ? null : resource.getURL();


Mime
View raw message