[Groonga-commit] groonga/gcs [master] Rename property: domainCreationDate => creationDate

Zurück zum Archiv-Index

YUKI Hiroshi null+****@clear*****
Tue Dec 25 16:48:49 JST 2012


YUKI Hiroshi	2012-12-25 16:48:49 +0900 (Tue, 25 Dec 2012)

  New Revision: 6beb15f1e7f11fa3912a97e445b1d507d16d4e0c
  https://github.com/groonga/gcs/commit/6beb15f1e7f11fa3912a97e445b1d507d16d4e0c

  Log:
    Rename property: domainCreationDate => creationDate

  Modified files:
    lib/database/domain.js

  Modified: lib/database/domain.js (+4 -4)
===================================================================
--- lib/database/domain.js    2012-12-25 16:45:48 +0900 (b0f44f6)
+++ lib/database/domain.js    2012-12-25 16:48:49 +0900 (d345f8c)
@@ -307,12 +307,12 @@ Domain.prototype = {
     return this;
   },
 
-  get domainCreationDate() {
+  get creationDate() {
     return this.getCreationDate('self') || new Date();
   },
 
   get domainId() {
-    return this.domainCreationDate.getTime() + '/' + this.name;
+    return this.creationDate.getTime() + '/' + this.name;
   },
 
   get searchableDocumentsCount() {
@@ -344,10 +344,10 @@ Domain.prototype = {
   },
 
   get documentsArn() {
-    return 'arn:aws:cs:us-east-1:' + this.domainCreationDate.getTime() + ':doc/' + this.name;
+    return 'arn:aws:cs:us-east-1:' + this.creationDate.getTime() + ':doc/' + this.name;
   },
   get searchArn() {
-    return 'arn:aws:cs:us-east-1:' + this.domainCreationDate.getTime() + ':search/' + this.name;
+    return 'arn:aws:cs:us-east-1:' + this.creationDate.getTime() + ':search/' + this.name;
   },
   documentsEndpoint: function(endpointBase) {
     if (!endpointBase) throw new Error('endpointBase must be specified');
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index