@@ -208,7 +208,6 @@ public String getPath() throws ServerException {
208208 * @return List of properties with values set. If property cannot be found it shall be omitted from the result.
209209 * @throws ServerException In case of an error.
210210 */
211- // <<<< getPropertiesImpl
212211 @ Override
213212 public List <Property > getProperties (Property [] props ) throws ServerException {
214213 List <Property > l = getPropertyNames ();
@@ -228,7 +227,6 @@ public List<Property> getProperties(Property[] props) throws ServerException {
228227 }
229228 return result ;
230229 }
231- // getPropertiesImpl >>>>
232230
233231
234232 private List <Property > getProperties () throws ServerException {
@@ -245,7 +243,6 @@ private List<Property> getProperties() throws ServerException {
245243 * @return List of all property names for this item.
246244 * @throws ServerException In case of an error.
247245 */
248- // <<<< getPropertyNamesImpl
249246 @ Override
250247 public List <Property > getPropertyNames () throws ServerException {
251248 if (ExtendedAttributesExtension .hasExtendedAttribute (getFullPath (), propertiesAttribute )) {
@@ -254,7 +251,6 @@ public List<Property> getPropertyNames() throws ServerException {
254251 }
255252 return new LinkedList <>();
256253 }
257- // getPropertyNamesImpl >>>>
258254
259255 /**
260256 * Check whether client is the lock owner.
@@ -299,7 +295,6 @@ private boolean clientHasToken() throws ServerException {
299295 * result of the operation for each property.
300296 * @throws ServerException In case of other error.
301297 */
302- // <<<< updatePropertiesImpl
303298 @ Override
304299 public void updateProperties (Property [] setProps , Property [] delProps )
305300 throws LockedException , MultistatusException , ServerException {
@@ -345,7 +340,6 @@ public void updateProperties(Property[] setProps, Property[] delProps)
345340 }
346341 ExtendedAttributesExtension .setExtendedAttribute (getFullPath (), propertiesAttribute , SerializationUtils .serialize (propToLeft ));
347342 }
348- // updatePropertiesImpl >>>>
349343
350344 /**
351345 * Updates basic file times in the following format - Thu, 28 Mar 2013 20:15:34 GMT.
@@ -392,7 +386,6 @@ String getFullPath() {
392386 * @throws MultistatusException Errors have occurred during processing of the subtree.
393387 * @throws ServerException In case of an error.
394388 */
395- // <<<< lockImpl
396389 @ Override
397390 public LockResult lock (boolean shared , boolean deep , long timeout , String owner )
398391 throws LockedException , MultistatusException , ServerException {
@@ -411,7 +404,6 @@ public LockResult lock(boolean shared, boolean deep, long timeout, String owner)
411404 ExtendedAttributesExtension .setExtendedAttribute (getFullPath (), activeLocksAttribute , SerializationUtils .serialize (activeLocks ));
412405 return new LockResult (token , timeout );
413406 }
414- // lockImpl >>>>
415407
416408 /**
417409 * Checks whether {@link HierarchyItemImpl} has a lock and whether it is shared.
@@ -431,7 +423,6 @@ private boolean hasLock(boolean skipShared) throws ServerException {
431423 * @return Array of locks.
432424 * @throws ServerException In case of an error.
433425 */
434- // <<<< getActiveLocksImpl
435426 @ Override
436427 public List <LockInfo > getActiveLocks () throws ServerException {
437428 if (activeLocks == null ) {
@@ -448,7 +439,6 @@ public List<LockInfo> getActiveLocks() throws ServerException {
448439 }
449440 return activeLocks ;
450441 }
451- // getActiveLocksImpl >>>>
452442
453443 /**
454444 * Removes lock with the specified token from this item.
@@ -457,7 +447,6 @@ public List<LockInfo> getActiveLocks() throws ServerException {
457447 * @throws PreconditionFailedException Included lock token was not enforceable on this item.
458448 * @throws ServerException In case of an error.
459449 */
460- // <<<< unlockImpl
461450 @ Override
462451 public void unlock (String lockToken ) throws PreconditionFailedException ,
463452 ServerException {
@@ -480,7 +469,6 @@ public void unlock(String lockToken) throws PreconditionFailedException,
480469 throw new PreconditionFailedException ();
481470 }
482471 }
483- // unlockImpl >>>>
484472
485473 /**
486474 * Updates lock timeout information on this item.
@@ -491,7 +479,6 @@ public void unlock(String lockToken) throws PreconditionFailedException,
491479 * @throws PreconditionFailedException Included lock token was not enforceable on this item.
492480 * @throws ServerException In case of an error.
493481 */
494- // <<<< refreshLockImpl
495482 @ Override
496483 public RefreshLockResult refreshLock (String token , long timeout )
497484 throws PreconditionFailedException , ServerException {
@@ -517,6 +504,5 @@ public RefreshLockResult refreshLock(String token, long timeout)
517504 return new RefreshLockResult (lockInfo .isShared (), lockInfo .isDeep (),
518505 timeout , lockInfo .getOwner ());
519506 }
520- // refreshLockImpl >>>>
521507
522508}
0 commit comments