Skip to content

Commit

Permalink
Update annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
upgle committed Sep 27, 2019
1 parent 6812de1 commit e44dd6c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import org.apache.openwhisk.http.Messages
* @param namespace the namespace for the entity as an abstract field
* @param version the semantic version as an abstract field
* @param publish true to share the entity and false to keep it private as an abstract field
* @param annotation the set of annotations to attribute to the entity
* @param annotations the set of annotations to attribute to the entity
*
* @throws IllegalArgumentException if any argument is undefined
*/
Expand Down Expand Up @@ -112,8 +112,8 @@ object WhiskEntity {
}

/**
* Get Instant with a millisecond precision
* because it's stored in milliseconds in the db
* Get Instant object with a millisecond precision
* timestamp of whisk entity is stored in milliseconds in the db
*/
def currentMillis() = {
Instant.now(Clock.systemUTC()).truncatedTo(ChronoUnit.MILLIS)
Expand Down

0 comments on commit e44dd6c

Please sign in to comment.