Suggestion [1]

Marking LAST_MODIFIED as deprecated, updating the docs to state that GET_LAST_MODIFIED means that the last modification time for a file or can be retrieved.

Suggestion [2]

Mark both GET_LAST_MODIFED and LAST_MODIFIED as deprecated.

Split GET_LAST_MODIFIED into a GET_LAST_MODIFIED_FILE and GET_LAST_MODIFIED_FOLDER. I am saying this as by example on S3 it is possible to get the last modification time of a blob, but not on something marked as a directory marker.

Disclaimer: Maybe it is possible to get modification time on directory marker on S3, but i have based it upon what jClouds can do.

On 17/05/2014 15:19, Gary Gregory wrote:
I suppose... not sure what the best path is. You pick ;)

Gary


-------- Original message --------
From: Bernd Eckenfels
Date:05/16/2014 21:42 (GMT-05:00)
To: Schalk Cronjé
Cc: user@commons.apache.org
Subject: Re: [VFS] LAST_MODIFIED vs GET_LAST_MODIFIED

Hallo,

Really no idea, it is not used anywhere. And GET_LAST_MODIFIED is
there since the 1.0 API, so it can not even be explained with
backward compatibility. There is also nothing in JIRA or the Wiki.

I guess I would put a deprecated tag in javadoc and forget about it?

Gruss
Bernd


Am Wed, 14 May 2014 22:52:19 +0100 schrieb Schalk
Cronjé <ysb...@gmail.com>:

> One more Capability question. Javadoc states that
>
>     GET_LAST_MODIFIED: File get last-modified time is supported.
>     LAST_MODIFIED: File last-modified time is supported.
>
> These seems to be the same thing. Furthermore there is no reference
> to LAST_MODIFIED in the core code base, only to GET_LAST_MODIFIED
> (and also to SET_LAST_MODIFIED_xxx). Is LAST_MODIFIED a deprecated
> capability?
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



--
Schalk W. Cronjé
@ysb33r

Reply via email to