Просмотр исходного кода

[GENERIC] Generic:

- fixed line ending

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18641 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 лет назад
Родитель
Сommit
06e471adce
2 измененных файлов с 44 добавлено и 44 удалено
  1. 40 40
      library/Zend/Queue/Adapter/Db/queue_sqlite.php
  2. 4 4
      library/Zend/Service/Twitter.php

+ 40 - 40
library/Zend/Queue/Adapter/Db/queue_sqlite.php

@@ -1,40 +1,40 @@
-/*
-Sample grant for SQLite
-
-CREATE ROLE queue LOGIN
-  PASSWORD '[CHANGE ME]'
-  NOSUPERUSER NOINHERIT NOCREATEDB NOCREATEROLE;
-
-*/
-
---
--- Table structure for table `queue`
---
-
-CREATE TABLE queue
-(
-  queue_id INTEGER PRIMARY KEY AUTOINCREMENT,
-  queue_name VARCHAR(100) NOT NULL,
-  timeout INTEGER NOT NULL DEFAULT 30
-);
-
-
-
-
--- --------------------------------------------------------
---
--- Table structure for table `message`
---
-
-CREATE TABLE message
-(
-  message_id INTEGER PRIMARY KEY AUTOINCREMENT,
-  queue_id INTEGER PRIMARY KEY,
-  handle CHAR(32),
-  body VARCHAR(8192) NOT NULL,
-  md5 CHAR(32) NOT NULL,
-  timeout REAL,
-  created INTEGER,
-  FOREIGN KEY (queue_id) REFERENCES queue(queue_id)
-);
-
+/*
+Sample grant for SQLite
+
+CREATE ROLE queue LOGIN
+  PASSWORD '[CHANGE ME]'
+  NOSUPERUSER NOINHERIT NOCREATEDB NOCREATEROLE;
+
+*/
+
+--
+-- Table structure for table `queue`
+--
+
+CREATE TABLE queue
+(
+  queue_id INTEGER PRIMARY KEY AUTOINCREMENT,
+  queue_name VARCHAR(100) NOT NULL,
+  timeout INTEGER NOT NULL DEFAULT 30
+);
+
+
+
+
+-- --------------------------------------------------------
+--
+-- Table structure for table `message`
+--
+
+CREATE TABLE message
+(
+  message_id INTEGER PRIMARY KEY AUTOINCREMENT,
+  queue_id INTEGER PRIMARY KEY,
+  handle CHAR(32),
+  body VARCHAR(8192) NOT NULL,
+  md5 CHAR(32) NOT NULL,
+  timeout REAL,
+  created INTEGER,
+  FOREIGN KEY (queue_id) REFERENCES queue(queue_id)
+);
+

+ 4 - 4
library/Zend/Service/Twitter.php

@@ -865,11 +865,11 @@ class Zend_Service_Twitter extends Zend_Rest_Client
         return new Zend_Rest_Client_Result($response->getBody());
     }
 
-    /**
-     * Protected function to validate that the integer is valid or return a 0
+    /**
+     * Protected function to validate that the integer is valid or return a 0
      * @param $int
-     * @throws Zend_Http_Client_Exception if HTTP request fails or times out
-     * @return integer
+     * @throws Zend_Http_Client_Exception if HTTP request fails or times out
+     * @return integer
      */
     protected function _validInteger($int)
     {