Skip to content

Commit 4c77aaa

Browse files
committed
Remove trailing whitespace from source files
1 parent 67d3070 commit 4c77aaa

22 files changed

+335
-335
lines changed

src/dpi/include/dpiCommon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace dpi
3434
PUBLIC CONSTANTS
3535
----------------------------------------------------------------------------*/
3636

37-
37+
3838
enum HandleType
3939
{
4040
ErrorHandleType = 2 // OCI_HTYPE_ERROR

src/dpi/include/dpiEnv.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class DateTimeArray;
5656
PUBLIC CONSTANTS
5757
---------------------------------------------------------------------------*/
5858

59-
59+
6060
/*---------------------------------------------------------------------------
6161
PUBLIC TYPES
6262
---------------------------------------------------------------------------*/
@@ -105,30 +105,30 @@ class Env
105105
// DateTime array
106106
virtual DateTimeArray * getDateTimeArray( OCIError *errh ) const = 0;
107107
virtual void releaseDateTimeArray ( DateTimeArray *arr ) const = 0;
108-
108+
109109
// handle and descriptor methods
110110
virtual DpiHandle * allocHandle(HandleType handleType) = 0;
111-
111+
112112
static void freeHandle(DpiHandle *handle, HandleType handleType);
113-
114-
113+
114+
115115
virtual Descriptor * allocDescriptor(DescriptorType descriptorType)
116116
= 0;
117-
117+
118118
static void freeDescriptor(Descriptor *descriptor,
119119
DescriptorType descriptorType);
120-
120+
121121
virtual void allocDescriptorArray(DescriptorType descriptorType,
122122
unsigned int arraySize,
123123
Descriptor **descriptorArray) = 0;
124-
124+
125125
static void freeDescriptorArray(Descriptor **descriptorArray,
126126
DescriptorType descriptorType);
127127

128-
128+
129129
virtual DpiHandle * envHandle() const = 0;
130130

131-
131+
132132
protected:
133133
// clients cannot do new and delete
134134
Env();

src/dpi/include/dpiLob.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ namespace dpi
4343
PUBLIC CONSTANTS
4444
----------------------------------------------------------------------------*/
4545

46-
46+
4747
/*----------------------------------------------------------------------------
4848
PUBLIC TYPES
4949
----------------------------------------------------------------------------*/
5050

51-
51+
5252
/*******************************************************************************
5353
* NAME Lob
5454
*
@@ -58,28 +58,28 @@ namespace dpi
5858
* read - read the Lob
5959
*
6060
******************************************************************************/
61-
61+
6262
class Lob
6363
{
6464
public:
6565

6666
static void read(DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
67-
unsigned long long &byteAmount,
67+
unsigned long long &byteAmount,
6868
unsigned long long &charAmount,
6969
unsigned long long offset,
7070
void *buf,
7171
unsigned long long bufl);
72-
72+
7373
static void write(DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
74-
unsigned long long &byteAmount,
74+
unsigned long long &byteAmount,
7575
unsigned long long &charAmount,
7676
unsigned long long offset,
7777
void *buf,
7878
unsigned long long bufl);
79-
79+
8080
static unsigned int chunkSize(DpiHandle *svch, DpiHandle *errh,
8181
Descriptor *lobLocator);
82-
82+
8383
static unsigned long long length(DpiHandle *svch, DpiHandle *errh,
8484
Descriptor *lobLocator);
8585
};

src/dpi/src/dpiCommon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#ifndef OCI_ORACLE
2828
# include <oci.h>
2929
#endif
30-
30+
3131
#ifndef DPICOMMON_ORACLE
3232
# include <dpiCommon.h>
3333
#endif

src/dpi/src/dpiConnImpl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class PoolImpl;
5555

5656

5757
/*
58-
* The maximum character expansion ratio from any DB character to
58+
* The maximum character expansion ratio from any DB character to
5959
* AL32UTF8 is known to be 3-times
6060
*/
6161
#define DPI_WORSTCASE_CHAR_CONVERSION_RATIO 3
@@ -143,7 +143,7 @@ class ConnImpl : public Conn
143143
return ( csid == DPI_AL32UTF8 ) ? DPI_BESTCASE_CHAR_CONVERSION_RATIO :
144144
DPI_WORSTCASE_CHAR_CONVERSION_RATIO;
145145
}
146-
146+
147147
void cleanup();
148148

149149

src/dpi/src/dpiEnv.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Env * Env::createEnv( const string & drvName )
106106
nothing
107107
108108
NOTES:
109-
109+
110110
*/
111111

112112
void Env::freeHandle(DpiHandle *handle, HandleType handleType)
@@ -129,7 +129,7 @@ void Env::freeHandle(DpiHandle *handle, HandleType handleType)
129129
nothing
130130
131131
NOTES:
132-
132+
133133
*/
134134

135135
void Env::freeDescriptor(Descriptor *descriptor,
@@ -153,7 +153,7 @@ void Env::freeDescriptor(Descriptor *descriptor,
153153
nothing
154154
155155
NOTES:
156-
156+
157157
*/
158158

159159
void Env::freeDescriptorArray(Descriptor **descriptorArray,

src/dpi/src/dpiEnvImpl.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ DateTimeArray* EnvImpl::getDateTimeArray (OCIError *errh) const
656656
{
657657
throw ExceptionImpl ( DpiErrMemAllocFail ) ;
658658
}
659-
return dtmarr;
659+
return dtmarr;
660660
}
661661

662662

@@ -691,7 +691,7 @@ void EnvImpl::releaseDateTimeArray ( DateTimeArray *arr ) const
691691
allocated DPI handle
692692
693693
NOTES:
694-
694+
695695
*/
696696

697697
DpiHandle * EnvImpl::allocHandle(HandleType handleType)
@@ -718,7 +718,7 @@ DpiHandle * EnvImpl::allocHandle(HandleType handleType)
718718
allocated DPI descriptor
719719
720720
NOTES:
721-
721+
722722
*/
723723

724724
Descriptor * EnvImpl::allocDescriptor(DescriptorType descriptorType)
@@ -746,7 +746,7 @@ Descriptor * EnvImpl::allocDescriptor(DescriptorType descriptorType)
746746
allocated DPI descriptor array
747747
748748
NOTES:
749-
749+
750750
*/
751751

752752
void EnvImpl::allocDescriptorArray(DescriptorType descriptorType,
@@ -772,7 +772,7 @@ void EnvImpl::allocDescriptorArray(DescriptorType descriptorType,
772772
OCI environment handle
773773
774774
NOTES:
775-
775+
776776
*/
777777

778778
DpiHandle * EnvImpl::envHandle() const

src/dpi/src/dpiEnvImpl.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@ class EnvImpl : public Env
115115
virtual DateTimeArray* getDateTimeArray ( OCIError *errh ) const ;
116116
virtual void releaseDateTimeArray ( DateTimeArray *arr ) const ;
117117

118-
118+
119119
virtual DpiHandle * allocHandle(HandleType handleType);
120-
120+
121121
virtual Descriptor * allocDescriptor(DescriptorType descriptorType);
122-
122+
123123
virtual void allocDescriptorArray(DescriptorType descriptorType,
124124
unsigned int arraySize,
125125
Descriptor *descriptorArray[]);
126-
126+
127127
virtual DpiHandle * envHandle() const;
128128

129129

src/dpi/src/dpiLob.cpp

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ using namespace dpi;
4848
4949
DESCRIPTION
5050
Read from the Lob Locator.
51-
51+
5252
PARAMETERS
5353
svch - OCI service handle
5454
errh - OCI error handle
5555
lobLocator - Lob locator to be read
5656
5757
byteAmount (IN/OUT) - IN: number of bytes to read
5858
OUT: number of bytes read
59-
Used for BLOB and BFILE always.
59+
Used for BLOB and BFILE always.
6060
For CLOB, it is used only when charAmount is zero.
6161
6262
charAmount (IN/OUT) - IN: number of characters to read. Set to zero if
@@ -74,15 +74,15 @@ using namespace dpi;
7474
nothing
7575
7676
NOTES
77-
77+
7878
*/
79-
79+
8080
void Lob::read(DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
8181
unsigned long long &byteAmount, unsigned long long &charAmount,
8282
unsigned long long offset, void *buf, unsigned long long bufl)
8383
{
8484
ociCall(OCILobRead2((OCISvcCtx *)svch, (OCIError *)errh,
85-
(OCILobLocator *)lobLocator,
85+
(OCILobLocator *)lobLocator,
8686
(oraub8 *)&byteAmount, (oraub8 *)&charAmount,
8787
offset, buf, (oraub8)(byteAmount ? byteAmount : bufl),
8888
OCI_ONE_PIECE, NULL, NULL, 0, SQLCS_IMPLICIT),
@@ -95,15 +95,15 @@ void Lob::read(DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
9595
9696
DESCRIPTION
9797
Write to the Lob Locator.
98-
98+
9999
PARAMETERS
100100
svch - OCI service handle
101101
errh - OCI error handle
102102
lobLocator - Lob locator to be written
103103
104104
byteAmount (IN/OUT) - IN: number of bytes to write
105105
OUT: number of bytes actually written
106-
Used for BLOB and BFILE always.
106+
Used for BLOB and BFILE always.
107107
For CLOB, it is used only when charAmount is zero.
108108
109109
charAmount (IN/OUT) - IN: number of characters to written. Set to zero if
@@ -121,15 +121,15 @@ void Lob::read(DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
121121
nothing
122122
123123
NOTES
124-
124+
125125
*/
126-
126+
127127
void Lob::write(DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
128128
unsigned long long &byteAmount, unsigned long long &charAmount,
129129
unsigned long long offset, void *buf, unsigned long long bufl)
130130
{
131131
ociCall(OCILobWrite2((OCISvcCtx *)svch, (OCIError *)errh,
132-
(OCILobLocator *)lobLocator,
132+
(OCILobLocator *)lobLocator,
133133
(oraub8 *)&byteAmount, (oraub8 *)&charAmount,
134134
offset, buf, (oraub8)(byteAmount ? byteAmount : bufl),
135135
OCI_ONE_PIECE, NULL, NULL, 0, SQLCS_IMPLICIT),
@@ -142,7 +142,7 @@ void Lob::write(DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
142142
143143
DESCRIPTION
144144
Get Lob chunk size
145-
145+
146146
PARAMETERS
147147
svch - OCI service handle
148148
errh - OCI error handle
@@ -154,14 +154,14 @@ void Lob::write(DpiHandle *svch, DpiHandle *errh, Descriptor *lobLocator,
154154
nothing
155155
156156
NOTES
157-
157+
158158
*/
159-
159+
160160
unsigned int Lob::chunkSize(DpiHandle *svch, DpiHandle *errh,
161161
Descriptor *lobLocator)
162162
{
163163
unsigned int chunkSize = 0;
164-
164+
165165
ociCall(OCILobGetChunkSize((OCISvcCtx *)svch, (OCIError *)errh,
166166
(OCILobLocator *)lobLocator, &chunkSize),
167167
(OCIError *)errh);
@@ -175,7 +175,7 @@ unsigned int Lob::chunkSize(DpiHandle *svch, DpiHandle *errh,
175175
176176
DESCRIPTION
177177
Get Lob length
178-
178+
179179
PARAMETERS
180180
svch - OCI service handle
181181
errh - OCI error handle
@@ -187,14 +187,14 @@ unsigned int Lob::chunkSize(DpiHandle *svch, DpiHandle *errh,
187187
nothing
188188
189189
NOTES
190-
190+
191191
*/
192-
192+
193193
unsigned long long Lob::length(DpiHandle *svch, DpiHandle *errh,
194194
Descriptor *lobLocator)
195195
{
196196
oraub8 length = 0;
197-
197+
198198
ociCall(OCILobGetLength2((OCISvcCtx *)svch, (OCIError *)errh,
199199
(OCILobLocator *)lobLocator, (oraub8 *)&length),
200200
(OCIError *)errh);

0 commit comments

Comments
 (0)