You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org.springframework.web.portlet/src/main/java/org/springframework/web/portlet/context/PortletContextResource.java
+23-1Lines changed: 23 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2011 the original author or authors.
2
+
* Copyright 2002-2012 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -107,6 +107,28 @@ public boolean exists() {
107
107
}
108
108
}
109
109
110
+
/**
111
+
* This implementation delegates to <code>PortletContext.getResourceAsStream</code>,
112
+
* which returns <code>null</code> in case of a non-readable resource (e.g. a directory).
0 commit comments