pjfanning commented on code in PR #1002:
URL: https://github.com/apache/pekko-connectors/pull/1002#discussion_r1988799328


##########
file/src/main/scala/org/apache/pekko/stream/connectors/file/model.scala:
##########
@@ -25,11 +25,16 @@ object ArchiveMetadata {
   def create(filePath: String): ArchiveMetadata = new ArchiveMetadata(filePath)
 }
 
-final case class ZipArchiveMetadata(name: String) {
+final case class ZipArchiveMetadata(name: String)(val size: Long, val 
lastModification: Instant) {
   def getName() = name
 }
 object ZipArchiveMetadata {
-  def create(name: String): ZipArchiveMetadata = ZipArchiveMetadata(name)
+  @deprecated("Use the variant with 3 arguments instead.", since = 
"pekko-connectors-file:1.1.0")

Review Comment:
   1.1.0 is already released - so 1.1.1 should be here and don't prefix it with 
`pekko-connectors-file:`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to