[Groonga-commit] groonga/gcs [master] Simplify

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 21 18:13:44 JST 2012


YUKI Hiroshi	2012-11-21 18:13:44 +0900 (Wed, 21 Nov 2012)

  New Revision: b55ebcdfff612ee88ac73f5e633e2fe503ffc175
  https://github.com/groonga/gcs/commit/b55ebcdfff612ee88ac73f5e633e2fe503ffc175

  Log:
    Simplify

  Modified files:
    lib/database/index-field.js

  Modified: lib/database/index-field.js (+1 -4)
===================================================================
--- lib/database/index-field.js    2012-11-21 17:55:59 +0900 (461637f)
+++ lib/database/index-field.js    2012-11-21 18:13:44 +0900 (3ceb978)
@@ -205,10 +205,7 @@ IndexField.prototype = {
   },
 
   get type() {
-    if (this._type)
-      return this._type;
-
-    return this.actualType;
+    return this._type || this.actualType;
   },
   get actualType() {
     var column = this.column;
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index