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

More jdbc comment cleanups. Code looks very nice now.

This commit is contained in:
Bruce Momjian
2001-11-19 22:43:13 +00:00
parent 46d50783bf
commit 6c8120d68c
14 changed files with 82 additions and 82 deletions

View File

@@ -4,12 +4,12 @@ import java.io.*;
import java.sql.*;
import org.omg.CosNaming.*;
/**
/*
* This class is the frontend to our mini CORBA application.
*
* It has no GUI, just a text frontend to keep it simple.
*
* $Id: StockClient.java,v 1.2 2001/10/25 05:59:58 momjian Exp $
* $Id: StockClient.java,v 1.3 2001/11/19 22:43:13 momjian Exp $
*/
public class StockClient
{

View File

@@ -2,7 +2,7 @@ package example.corba;
import java.sql.*;
/**
/*
* This class handles the JDBC side of things. It opens a connection to
* the database, and performes queries on that database.
*
@@ -13,7 +13,7 @@ import java.sql.*;
* that an object could be changed by another client, and we need to ensure that
* the returned data is live and accurate.
*
* $Id: StockDB.java,v 1.3 2001/10/25 05:59:58 momjian Exp $
* $Id: StockDB.java,v 1.4 2001/11/19 22:43:13 momjian Exp $
*/
public class StockDB
{

View File

@@ -2,10 +2,10 @@ package example.corba;
import org.omg.CosNaming.*;
/**
/*
* This class implements the server side of the example.
*
* $Id: StockDispenserImpl.java,v 1.2 2001/10/25 05:59:58 momjian Exp $
* $Id: StockDispenserImpl.java,v 1.3 2001/11/19 22:43:13 momjian Exp $
*/
public class StockDispenserImpl extends stock._StockDispenserImplBase
{
@@ -39,7 +39,7 @@ public class StockDispenserImpl extends stock._StockDispenserImplBase
}
}
/**
/*
* This method, defined in stock.idl, reserves a slot in the dispenser
*/
public stock.StockItem reserveItem() throws stock.StockException
@@ -56,7 +56,7 @@ public class StockDispenserImpl extends stock._StockDispenserImplBase
return null;
}
/**
/*
* This releases a slot from the dispenser
*/
public void releaseItem(stock.StockItem item) throws stock.StockException
@@ -74,7 +74,7 @@ public class StockDispenserImpl extends stock._StockDispenserImplBase
return ;
}
/**
/*
* This class defines a slot in the dispenser
*/
class StockItemStatus

View File

@@ -2,10 +2,10 @@ package example.corba;
import org.omg.CosNaming.*;
/**
/*
* This class implements the server side of the example.
*
* $Id: StockItemImpl.java,v 1.2 2001/10/25 05:59:58 momjian Exp $
* $Id: StockItemImpl.java,v 1.3 2001/11/19 22:43:13 momjian Exp $
*/
public class StockItemImpl extends stock._StockItemImplBase
{
@@ -28,7 +28,7 @@ public class StockItemImpl extends stock._StockItemImplBase
}
}
/**
/*
* This is defined in stock.idl
*
* It sets the item to view
@@ -46,7 +46,7 @@ public class StockItemImpl extends stock._StockItemImplBase
}
/**
/*
* This is defined in stock.idl
*
* It sets the item to view
@@ -63,7 +63,7 @@ public class StockItemImpl extends stock._StockItemImplBase
}
}
/**
/*
* This is defined in stock.idl
*
* It returns the description of a Stock item
@@ -80,7 +80,7 @@ public class StockItemImpl extends stock._StockItemImplBase
}
}
/**
/*
* This is defined in stock.idl
*
* It returns the description of a Stock item
@@ -97,7 +97,7 @@ public class StockItemImpl extends stock._StockItemImplBase
}
}
/**
/*
* This is defined in stock.idl
*
* It returns the description of a Stock item
@@ -114,7 +114,7 @@ public class StockItemImpl extends stock._StockItemImplBase
}
}
/**
/*
* This is defined in stock.idl
*
* It returns the description of a Stock item
@@ -131,7 +131,7 @@ public class StockItemImpl extends stock._StockItemImplBase
}
}
/**
/*
* This is defined in stock.idl
*
* It returns the description of a Stock item
@@ -148,7 +148,7 @@ public class StockItemImpl extends stock._StockItemImplBase
}
}
/**
/*
* This is defined in stock.idl
*
* It returns the description of a Stock item
@@ -165,7 +165,7 @@ public class StockItemImpl extends stock._StockItemImplBase
}
}
/**
/*
* This is defined in stock.idl
*
* It returns the description of a Stock item
@@ -182,7 +182,7 @@ public class StockItemImpl extends stock._StockItemImplBase
}
}
/**
/*
* This returns the highest id used, hence the number of items available
*/
public int getLastID() throws stock.StockException
@@ -197,7 +197,7 @@ public class StockItemImpl extends stock._StockItemImplBase
}
}
/**
/*
* This is used by our Dispenser
*/
public String getInstanceName()

View File

@@ -2,10 +2,10 @@ package example.corba;
import org.omg.CosNaming.*;
/**
/*
* This class implements the server side of the example.
*
* $Id: StockServer.java,v 1.2 2001/10/25 05:59:58 momjian Exp $
* $Id: StockServer.java,v 1.3 2001/11/19 22:43:13 momjian Exp $
*/
public class StockServer
{