1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-27 07:42:10 +03:00

Change 'return ;' to 'return;'; remove space.

This commit is contained in:
Bruce Momjian
2001-11-19 23:19:21 +00:00
parent 0dfe913803
commit 28e92b89f4
14 changed files with 34 additions and 34 deletions

View File

@@ -9,7 +9,7 @@ import org.omg.CosNaming.*;
*
* It has no GUI, just a text frontend to keep it simple.
*
* $Id: StockClient.java,v 1.4 2001/11/19 23:16:45 momjian Exp $
* $Id: StockClient.java,v 1.5 2001/11/19 23:19:20 momjian Exp $
*/
public class StockClient
{
@@ -35,14 +35,14 @@ public class StockClient
if (nameServiceObj == null)
{
System.err.println("nameServiceObj == null");
return ;
return;
}
nameService = org.omg.CosNaming.NamingContextHelper.narrow(nameServiceObj);
if (nameService == null)
{
System.err.println("nameService == null");
return ;
return;
}
// Resolve the dispenser
@@ -53,7 +53,7 @@ public class StockClient
if (dispenser == null)
{
System.err.println("dispenser == null");
return ;
return;
}
// Now run the front end.

View File

@@ -5,7 +5,7 @@ import org.omg.CosNaming.*;
/*
* This class implements the server side of the example.
*
* $Id: StockDispenserImpl.java,v 1.3 2001/11/19 22:43:13 momjian Exp $
* $Id: StockDispenserImpl.java,v 1.4 2001/11/19 23:19:20 momjian Exp $
*/
public class StockDispenserImpl extends stock._StockDispenserImplBase
{
@@ -67,11 +67,11 @@ public class StockDispenserImpl extends stock._StockDispenserImplBase
{
stock[i].inUse = false;
System.out.println("Releasing slot " + i);
return ;
return;
}
}
System.out.println("Reserved object not a member of this dispenser");
return ;
return;
}
/*

View File

@@ -5,7 +5,7 @@ import org.omg.CosNaming.*;
/*
* This class implements the server side of the example.
*
* $Id: StockServer.java,v 1.3 2001/11/19 22:43:13 momjian Exp $
* $Id: StockServer.java,v 1.4 2001/11/19 23:19:20 momjian Exp $
*/
public class StockServer
{
@@ -29,14 +29,14 @@ public class StockServer
if (nameServiceObj == null)
{
System.err.println("nameServiceObj = null");
return ;
return;
}
org.omg.CosNaming.NamingContext nameService = org.omg.CosNaming.NamingContextHelper.narrow(nameServiceObj);
if (nameService == null)
{
System.err.println("nameService = null");
return ;
return;
}
// bind the dispenser into the naming service