tcurdt 2003/02/23 16:11:53
Modified: . changes.xml src/java/org/apache/cocoon/acting ResourceExistsAction.java Log: fixed bug #17324 Revision Changes Path 1.353 +5 -1 xml-cocoon2/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/changes.xml,v retrieving revision 1.352 retrieving revision 1.353 diff -u -r1.352 -r1.353 --- changes.xml 23 Feb 2003 16:46:35 -0000 1.352 +++ changes.xml 24 Feb 2003 00:11:52 -0000 1.353 @@ -41,6 +41,10 @@ </devs> <release version="@version@" date="@date@"> + <action dev="TC" type="fix" fixes-bug="17324" due-to="Alfred Nathaniel" due-to-email="[EMAIL PROTECTED]"> + Fixed the ResourceExistAction to return null instead of EMPTYMAP on + not existing resources. + </action> <action dev="SM" type="update"> Refactored the build system. </action> 1.13 +2 -3 xml-cocoon2/src/java/org/apache/cocoon/acting/ResourceExistsAction.java Index: ResourceExistsAction.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/acting/ResourceExistsAction.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- ResourceExistsAction.java 8 Feb 2003 14:14:08 -0000 1.12 +++ ResourceExistsAction.java 24 Feb 2003 00:11:53 -0000 1.13 @@ -79,10 +79,9 @@ return EMPTY_MAP; } catch (Exception e) { getLogger().warn("Exception", e); - return null; } finally { resolver.release(src); } - return EMPTY_MAP; + return null; } }