10121013101410151016101710181019102010211022
{ // expected behaviour } // Remove entry (use new rdn) ctx.unbind( newRdn ); } private String getRdn( Attributes attributes, String... rdnTypes ) throws Exception {
697698699700701702703704705706707
} if (exists) { boolean result = true; try { resources.unbind(path); } catch (NamingException e) { result = false; } if (result) { resp.setStatus(HttpServletResponse.SC_NO_CONTENT);
17991800180118021803180418051806180718081809
boolean collection = (object instanceof DirContext); if (!collection) { try { resources.unbind(path); } catch (NamingException e) { resp.sendError(WebdavStatus.SC_INTERNAL_SERVER_ERROR); return false; } } else {
18101811181218131814181518161817181818191820
Hashtable errorList = new Hashtable(); deleteCollection(req, resources, path, errorList); try { resources.unbind(path); } catch (NamingException e) { errorList.put(path, new Integer (WebdavStatus.SC_INTERNAL_SERVER_ERROR)); }
679680681682683684685686687688689
17601761176217631764176517661767176817691770
17711772177317741775177617771778177917801781
17851786178717881789179017911792179317941795
17961797179817991800180118021803180418051806
374375376377378379380381382383384
{ // expected behaviour } // Remove entry (use old rdn) ctx.unbind( oldRdn ); } /** * Test for DIRSERVER-1086.