question: public CookieEntity ( URI uri , HttpCookie cookie ) { this . uri = uri == null ? null : uri . toString ( ) ; this . name = cookie . getName ( ) ; this . value = cookie . getValue ( ) ; this . comment = cookie . getComment ( ) ; this . commentURL = cookie . getCommentURL ( ) ; this . discard = cookie . getDiscard ( ) ; this . domain = cookie . getDomain ( ) ; long maxAge = cookie . getMaxAge ( ) ; if ( maxAge != - 1 && maxAge > 0 ) { this . expiry = ( maxAge * 1000L ) + System . currentTimeMillis ( ) ; if ( this . expiry < 0L ) this . expiry = HeaderUtil . getMaxExpiryMillis ( ) ; } else this . expiry = - 1L ; this . path = cookie . getPath ( ) ; if ( ! TextUtils . isEmpty ( path ) && path . length ( ) > 1 && path . endsWith ( "/" ) ) { this . path = path . substring ( 0 , path . length ( ) - 1 ) ; } this . portList = cookie . getPortlist ( ) ; this . secure = cookie . getSecure ( ) ; this . version = cookie . getVersion ( ) ; }
target:  Cookie building database entities.