Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit28e92b8

Browse files
committed
Change 'return ;' to 'return;'; remove space.
1 parent0dfe913 commit28e92b8

14 files changed

+34
-34
lines changed

‎src/interfaces/jdbc/example/Unicode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public void runTest()
234234
catch (ClassNotFoundExceptioncnfe)
235235
{
236236
log("Unable to load driver",cnfe);
237-
return;
237+
return;
238238
}
239239
try
240240
{

‎src/interfaces/jdbc/example/corba/StockClient.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* It has no GUI, just a text frontend to keep it simple.
1111
*
12-
* $Id: StockClient.java,v 1.4 2001/11/19 23:16:45 momjian Exp $
12+
* $Id: StockClient.java,v 1.5 2001/11/19 23:19:20 momjian Exp $
1313
*/
1414
publicclassStockClient
1515
{
@@ -35,14 +35,14 @@ public StockClient(String[] args)
3535
if (nameServiceObj ==null)
3636
{
3737
System.err.println("nameServiceObj == null");
38-
return;
38+
return;
3939
}
4040

4141
nameService =org.omg.CosNaming.NamingContextHelper.narrow(nameServiceObj);
4242
if (nameService ==null)
4343
{
4444
System.err.println("nameService == null");
45-
return;
45+
return;
4646
}
4747

4848
// Resolve the dispenser
@@ -53,7 +53,7 @@ public StockClient(String[] args)
5353
if (dispenser ==null)
5454
{
5555
System.err.println("dispenser == null");
56-
return;
56+
return;
5757
}
5858

5959
// Now run the front end.

‎src/interfaces/jdbc/example/corba/StockDispenserImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/*
66
* This class implements the server side of the example.
77
*
8-
* $Id: StockDispenserImpl.java,v 1.3 2001/11/1922:43:13 momjian Exp $
8+
* $Id: StockDispenserImpl.java,v 1.4 2001/11/1923:19:20 momjian Exp $
99
*/
1010
publicclassStockDispenserImplextendsstock._StockDispenserImplBase
1111
{
@@ -67,11 +67,11 @@ public void releaseItem(stock.StockItem item) throws stock.StockException
6767
{
6868
stock[i].inUse =false;
6969
System.out.println("Releasing slot " +i);
70-
return;
70+
return;
7171
}
7272
}
7373
System.out.println("Reserved object not a member of this dispenser");
74-
return;
74+
return;
7575
}
7676

7777
/*

‎src/interfaces/jdbc/example/corba/StockServer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/*
66
* This class implements the server side of the example.
77
*
8-
* $Id: StockServer.java,v 1.3 2001/11/1922:43:13 momjian Exp $
8+
* $Id: StockServer.java,v 1.4 2001/11/1923:19:20 momjian Exp $
99
*/
1010
publicclassStockServer
1111
{
@@ -29,14 +29,14 @@ public static void main(String[] args)
2929
if (nameServiceObj ==null)
3030
{
3131
System.err.println("nameServiceObj = null");
32-
return;
32+
return;
3333
}
3434

3535
org.omg.CosNaming.NamingContextnameService =org.omg.CosNaming.NamingContextHelper.narrow(nameServiceObj);
3636
if (nameService ==null)
3737
{
3838
System.err.println("nameService = null");
39-
return;
39+
return;
4040
}
4141

4242
// bind the dispenser into the naming service

‎src/interfaces/jdbc/example/psql.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void processLine(String line) throws SQLException
8282
if (line.startsWith("\\"))
8383
{
8484
processSlashCommand(line);
85-
return;
85+
return;
8686
}
8787

8888
booleantype =st.execute(line);

‎src/interfaces/jdbc/org/postgresql/Connection.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
importorg.postgresql.core.*;
1212

1313
/*
14-
* $Id: Connection.java,v 1.37 2001/11/19 23:16:45 momjian Exp $
14+
* $Id: Connection.java,v 1.38 2001/11/19 23:19:20 momjian Exp $
1515
*
1616
* This abstract class is used by org.postgresql.Driver to open either the JDBC1 or
1717
* JDBC2 versions of the Connection class.
@@ -817,7 +817,7 @@ public boolean isReadOnly() throws SQLException
817817
publicvoidsetAutoCommit(booleanautoCommit)throwsSQLException
818818
{
819819
if (this.autoCommit ==autoCommit)
820-
return;
820+
return;
821821
if (autoCommit)
822822
ExecSQL("end");
823823
else
@@ -860,7 +860,7 @@ public boolean getAutoCommit() throws SQLException
860860
publicvoidcommit()throwsSQLException
861861
{
862862
if (autoCommit)
863-
return;
863+
return;
864864
if (haveMinimumServerVersion("7.1"))
865865
{
866866
ExecSQL("commit;begin;" +getIsolationLevelSQL());
@@ -884,7 +884,7 @@ public void commit() throws SQLException
884884
publicvoidrollback()throwsSQLException
885885
{
886886
if (autoCommit)
887-
return;
887+
return;
888888
if (haveMinimumServerVersion("7.1"))
889889
{
890890
ExecSQL("rollback; begin;" +getIsolationLevelSQL());

‎src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void release(byte[] b)
7676
{
7777
// If it's larger than maxsize then we don't touch it
7878
if (b.length >maxsize)
79-
return;
79+
return;
8080

8181
ObjectPoolnot_usel =notusemap[b.length];
8282
ObjectPoolin_usel =inusemap[b.length];

‎src/interfaces/jdbc/org/postgresql/core/BytePoolDim2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void release(byte[][] b)
4242
{
4343
if (b.length >maxsize)
4444
{
45-
return;
45+
return;
4646
}
4747
ObjectPoolnot_usel =notusemap[b.length];
4848
ObjectPoolin_usel =inusemap[b.length];

‎src/interfaces/jdbc/org/postgresql/core/SimpleObjectPool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public void addAll(ObjectPool p)
8383

8484
intsrcsize =pool.size();
8585
if (srcsize ==0)
86-
return;
86+
return;
8787
inttotalsize =srcsize +cursize;
8888
if (totalsize >maxsize)
8989
{

‎src/interfaces/jdbc/org/postgresql/jdbc1/PreparedStatement.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ public void setObject(int parameterIndex, Object x, int targetSqlType, int scale
613613
if (x ==null)
614614
{
615615
setNull(parameterIndex,Types.OTHER);
616-
return;
616+
return;
617617
}
618618
switch (targetSqlType)
619619
{
@@ -683,7 +683,7 @@ public void setObject(int parameterIndex, Object x) throws SQLException
683683
if (x ==null)
684684
{
685685
setNull(parameterIndex,Types.OTHER);
686-
return;
686+
return;
687687
}
688688
if (xinstanceofString)
689689
setString(parameterIndex, (String)x);

‎src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ public void setObject(int parameterIndex, Object x, int targetSqlType, int scale
648648
if (x ==null)
649649
{
650650
setNull(parameterIndex,Types.OTHER);
651-
return;
651+
return;
652652
}
653653
switch (targetSqlType)
654654
{
@@ -718,7 +718,7 @@ public void setObject(int parameterIndex, Object x) throws SQLException
718718
if (x ==null)
719719
{
720720
setNull(parameterIndex,Types.OTHER);
721-
return;
721+
return;
722722
}
723723
if (xinstanceofString)
724724
setString(parameterIndex, (String)x);

‎src/interfaces/jdbc/org/postgresql/util/Serialize.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ public static void create(org.postgresql.Connection con, Class c) throws SQLExce
485485
{
486486
DriverManager.println("Serialize.create: table " +tableName +" exists, skipping");
487487
rs.close();
488-
return;
488+
return;
489489
}
490490

491491
// else table not found, so create it

‎src/interfaces/jdbc/org/postgresql/xa/ClientConnection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
*
4141
* Copyright 1999 (C) Exoffice Technologies Inc. All Rights Reserved.
4242
*
43-
* $Id: ClientConnection.java,v 1.3 2001/11/1922:33:39 momjian Exp $
43+
* $Id: ClientConnection.java,v 1.4 2001/11/1923:19:21 momjian Exp $
4444
*/
4545

4646

@@ -464,7 +464,7 @@ public synchronized void close()
464464
throwsSQLException
465465
{
466466
if (_xaConn ==null )
467-
return;
467+
return;
468468

469469
// Notify the XA connection that we are no longer going
470470
// to be used. Whether the underlying connection is released,

‎src/interfaces/jdbc/org/postgresql/xa/XAConnectionImpl.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
*
4141
* Copyright 1999 (C) Exoffice Technologies Inc. All Rights Reserved.
4242
*
43-
* $Id: XAConnectionImpl.java,v 1.3 2001/11/1922:33:39 momjian Exp $
43+
* $Id: XAConnectionImpl.java,v 1.4 2001/11/1923:19:21 momjian Exp $
4444
*/
4545

4646

@@ -310,7 +310,7 @@ synchronized void notifyClose( int clientId )
310310
// We have to expect being called by a ClientConnection that we
311311
// no longer regard as valid. That's acceptable, we just ignore.
312312
if (clientId !=_clientId )
313-
return;
313+
return;
314314

315315
// If we are handling an underlying connection, we commit the
316316
// old transaction and are ready to work for a new one.
@@ -329,7 +329,7 @@ synchronized void notifyClose( int clientId )
329329
event =newConnectionEvent(this,except );
330330
_listener.connectionErrorOccurred(event );
331331
}
332-
return;
332+
return;
333333
}
334334
}
335335
// Notify the listener.
@@ -355,7 +355,7 @@ synchronized void notifyError( int clientId, SQLException except )
355355
ConnectionEventevent;
356356

357357
if (clientId !=_clientId )
358-
return;
358+
return;
359359

360360
// If the connection is not two-phase commit we cannot determine
361361
// whether the error is critical, we just return. If the connection
@@ -364,11 +364,11 @@ synchronized void notifyError( int clientId, SQLException except )
364364
{
365365
if ( ! (_underlyinginstanceofTwoPhaseConnection ) ||
366366
! ( (TwoPhaseConnection)_underlying ).isCriticalError(except ) )
367-
return;
367+
return;
368368
if (_txConn.conn ==null ||
369369
! (_txConn.conninstanceofTwoPhaseConnection ) ||
370370
! ( (TwoPhaseConnection)_txConn.conn ).isCriticalError(except ) )
371-
return;
371+
return;
372372
}
373373

374374
// The client connection is no longer useable, the underlying
@@ -766,7 +766,7 @@ public synchronized void commit( Xid xid, boolean onePhase )
766766
// If connection has been prepared and is read-only,
767767
// nothing to do at this stage.
768768
if (txConn.readOnly )
769-
return;
769+
return;
770770

771771
// This must be a one-phase commite, or the connection
772772
// should have been prepared before.
@@ -829,7 +829,7 @@ public synchronized void rollback( Xid xid )
829829
// been terminated any other way, nothing to do
830830
// either.
831831
if (txConn.readOnly ||txConn.conn ==null )
832-
return;
832+
return;
833833

834834
try
835835
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp