Skip to content

Commit b613bc7

Browse files
committed
Strip trailing whitespace
1 parent b20dce0 commit b613bc7

32 files changed

+902
-906
lines changed

src/dpi/include/dpi.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
/******************************************************************************
44
*
5-
* You may not use the identified files except in compliance with the Apache
5+
* You may not use the identified files except in compliance with the Apache
66
* License, Version 2.0 (the "License.")
77
*
8-
* You may obtain a copy of the License at
8+
* You may obtain a copy of the License at
99
* http://www.apache.org/licenses/LICENSE-2.0.
1010
*
11-
* Unless required by applicable law or agreed to in writing, software
11+
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
1313
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
*
15-
* See the License for the specific language governing permissions and
15+
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*
1818
* NAME

src/dpi/include/dpiConn.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
/******************************************************************************
44
*
5-
* You may not use the identified files except in compliance with the Apache
5+
* You may not use the identified files except in compliance with the Apache
66
* License, Version 2.0 (the "License.")
77
*
8-
* You may obtain a copy of the License at
8+
* You may obtain a copy of the License at
99
* http://www.apache.org/licenses/LICENSE-2.0.
1010
*
11-
* Unless required by applicable law or agreed to in writing, software
11+
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
1313
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
*
15-
* See the License for the specific language governing permissions and
15+
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*
1818
* NAME
@@ -47,8 +47,8 @@ namespace dpi
4747
PUBLIC TYPES
4848
---------------------------------------------------------------------------*/
4949

50-
51-
50+
51+
5252
class Conn
5353
{
5454
public:
@@ -68,19 +68,19 @@ class Conn
6868

6969
// methods
7070
virtual Stmt* getStmt (const string &sql) = 0;
71-
71+
7272
virtual void commit() = 0;
73-
73+
7474
virtual void rollback() = 0;
75-
75+
7676
virtual void breakExecution() = 0;
77-
77+
7878
protected:
7979
// clients cannot do new and delete
8080
Conn(){};
81-
81+
8282
virtual ~Conn(){};
83-
83+
8484

8585
private:
8686

src/dpi/include/dpiDateTimeArray.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
/******************************************************************************
44
*
5-
* You may not use the identified files except in compliance with the Apache
5+
* You may not use the identified files except in compliance with the Apache
66
* License, Version 2.0 (the "License.")
77
*
8-
* You may obtain a copy of the License at
8+
* You may obtain a copy of the License at
99
* http://www.apache.org/licenses/LICENSE-2.0.
1010
*
11-
* Unless required by applicable law or agreed to in writing, software
11+
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
1313
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
*
15-
* See the License for the specific language governing permissions and
15+
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*
1818
* NAME
@@ -66,7 +66,7 @@ class DateTimeArray
6666
virtual void setDateTime ( const int idx, long double ms) = 0;
6767

6868
// Destructor
69-
virtual ~DateTimeArray() {};
69+
virtual ~DateTimeArray() {};
7070
};
7171

7272
} // namespace dpi

src/dpi/include/dpiEnv.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
/******************************************************************************
44
*
5-
* You may not use the identified files except in compliance with the Apache
5+
* You may not use the identified files except in compliance with the Apache
66
* License, Version 2.0 (the "License.")
77
*
8-
* You may obtain a copy of the License at
8+
* You may obtain a copy of the License at
99
* http://www.apache.org/licenses/LICENSE-2.0.
1010
*
11-
* Unless required by applicable law or agreed to in writing, software
11+
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
1313
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
*
15-
* See the License for the specific language governing permissions and
15+
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*
1818
* NAME
@@ -49,7 +49,7 @@ namespace dpi
4949
{
5050

5151
class DateTimeArray;
52-
52+
5353

5454
/*---------------------------------------------------------------------------
5555
PUBLIC TYPES
@@ -63,7 +63,7 @@ class Env
6363
static Env * createEnv();
6464

6565
virtual void terminate() = 0;
66-
66+
6767
// properties
6868
virtual void poolMax(unsigned int poolMax) = 0;
6969
virtual unsigned int poolMax() const = 0;
@@ -94,18 +94,18 @@ class Env
9494
int stmtCacheSize,
9595
const string &connClass = "",
9696
bool isExternalAuth = false) = 0;
97-
97+
9898
// DateTime array
9999
virtual DateTimeArray * getDateTimeArray( OCIError *errh ) const = 0;
100100
virtual void releaseDateTimeArray ( DateTimeArray *arr ) const = 0;
101-
101+
102102
protected:
103103
// clients cannot do new and delete
104104
Env();
105-
105+
106106
virtual ~Env();
107107

108-
108+
109109
private:
110110

111111
};

src/dpi/include/dpiException.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
/******************************************************************************
44
*
5-
* You may not use the identified files except in compliance with the Apache
5+
* You may not use the identified files except in compliance with the Apache
66
* License, Version 2.0 (the "License.")
77
*
8-
* You may obtain a copy of the License at
8+
* You may obtain a copy of the License at
99
* http://www.apache.org/licenses/LICENSE-2.0.
1010
*
11-
* Unless required by applicable law or agreed to in writing, software
11+
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
1313
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
*
15-
* See the License for the specific language governing permissions and
15+
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*
1818
* NAME
@@ -63,17 +63,17 @@ class Exception : public exception
6363
public:
6464
// creation/termination
6565
Exception(){};
66-
66+
6767
virtual ~Exception() throw();
6868

6969
virtual const char * what() const throw() = 0;
70-
70+
7171
virtual int errnum() const throw() = 0;
72-
72+
7373
virtual const char * origin() const throw() = 0;
74-
74+
7575
private:
76-
76+
7777
};
7878

7979

src/dpi/include/dpiPool.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
/******************************************************************************
44
*
5-
* You may not use the identified files except in compliance with the Apache
5+
* You may not use the identified files except in compliance with the Apache
66
* License, Version 2.0 (the "License.")
77
*
8-
* You may obtain a copy of the License at
8+
* You may obtain a copy of the License at
99
* http://www.apache.org/licenses/LICENSE-2.0.
1010
*
11-
* Unless required by applicable law or agreed to in writing, software
11+
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
1313
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
*
15-
* See the License for the specific language governing permissions and
15+
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*
1818
* NAME
@@ -60,14 +60,14 @@ class SPool
6060

6161
// methods
6262
virtual Conn * getConnection( const std::string &connClass = "" ) = 0;
63-
64-
63+
64+
6565
protected:
6666
// clients cannot do new and delete
6767
SPool(){};
68-
68+
6969
virtual ~SPool(){};
70-
70+
7171
private:
7272

7373
};

src/dpi/include/dpiStmt.h

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
/******************************************************************************
44
*
5-
* You may not use the identified files except in compliance with the Apache
5+
* You may not use the identified files except in compliance with the Apache
66
* License, Version 2.0 (the "License.")
77
*
8-
* You may obtain a copy of the License at
8+
* You may obtain a copy of the License at
99
* http://www.apache.org/licenses/LICENSE-2.0.
1010
*
11-
* Unless required by applicable law or agreed to in writing, software
11+
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
1313
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
*
15-
* See the License for the specific language governing permissions and
15+
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*
1818
* NAME
@@ -30,8 +30,8 @@
3030
#endif
3131

3232
#if !defined(OCI_MAJOR_VERSION) || (OCI_MAJOR_VERSION < 11) || \
33-
((OCI_MAJOR_VERSION == 11) && (OCI_MINOR_VERSION < 2))
34-
#error Oracle 11.2 or later client libraries are required for building
33+
((OCI_MAJOR_VERSION == 11) && (OCI_MINOR_VERSION < 2))
34+
#error Oracle 11.2 or later client libraries are required for building
3535
#endif
3636

3737

@@ -47,7 +47,7 @@ namespace dpi
4747
PUBLIC TYPES
4848
---------------------------------------------------------------------------*/
4949

50-
50+
5151
enum DpiStmtType
5252
{
5353
DpiStmtUnknown = 0,
@@ -88,7 +88,7 @@ typedef enum
8888
DpiBfile = 114,
8989
DpiYearMonth = 182, /* internal only */
9090
DpiDaySecond = 183, /* internal only */
91-
DpiTimestamp = 187, /* internal only */
91+
DpiTimestamp = 187, /* internal only */
9292
DpiTimestampTZ = 188, /* internal only */
9393
DpiURowid = 208, /* internal only */
9494
DpiTimestampLTZ = 232, /* internal only */
@@ -148,33 +148,33 @@ class Stmt
148148
// methods
149149
virtual void bind(unsigned int pos, unsigned short type, void *buf,
150150
DPI_SZ_TYPE bufSize, short *ind, DPI_BUFLEN_TYPE *bufLen) = 0;
151-
151+
152152
virtual void bind(const unsigned char *name, int nameLen,
153153
unsigned short type, void *buf, DPI_SZ_TYPE bufSize,
154154
short *ind, DPI_BUFLEN_TYPE *bufLen) = 0;
155155

156156
virtual void execute ( int numIterations, bool isAutoCommit = false) = 0;
157-
157+
158158
virtual void define(unsigned int pos, unsigned short type, void *buf,
159159
DPI_SZ_TYPE bufSize, short *ind, DPI_BUFLEN_TYPE *bufLen) = 0;
160-
160+
161161
virtual void fetch(unsigned int numRows = 1) = 0;
162-
162+
163163
virtual const MetaData * getMetaData() = 0;
164164

165165
virtual unsigned int rowsFetched() const = 0;
166166

167167
virtual OCIError *getError () = 0;
168-
169-
168+
169+
170170
virtual ~Stmt(){};
171171

172172
protected:
173173
// clients cannot do new and delete
174174
Stmt(){};
175175

176176
private:
177-
177+
178178
};
179179

180180

0 commit comments

Comments
 (0)