summaryrefslogtreecommitdiff
path: root/java/demo/Freeze/phonebook/ContactI.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2007-02-01 17:09:49 +0000
committerBernard Normier <bernard@zeroc.com>2007-02-01 17:09:49 +0000
commitabada90e3f84dc703b8ddc9efcbed8a946fadead (patch)
tree2c6f9dccd510ea97cb927a7bd635422efaae547a /java/demo/Freeze/phonebook/ContactI.java
parentremoving trace message (diff)
downloadice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.bz2
ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.xz
ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.zip
Expanded tabs into spaces
Diffstat (limited to 'java/demo/Freeze/phonebook/ContactI.java')
-rw-r--r--java/demo/Freeze/phonebook/ContactI.java54
1 files changed, 27 insertions, 27 deletions
diff --git a/java/demo/Freeze/phonebook/ContactI.java b/java/demo/Freeze/phonebook/ContactI.java
index 5547d3f2bb5..b8cc732feca 100644
--- a/java/demo/Freeze/phonebook/ContactI.java
+++ b/java/demo/Freeze/phonebook/ContactI.java
@@ -19,67 +19,67 @@ class ContactI extends Contact
synchronized public String
getName(Ice.Current current)
{
- return name;
+ return name;
}
synchronized public void
setName(String name, Ice.Current current)
- throws DatabaseException
+ throws DatabaseException
{
- this.name = name;
+ this.name = name;
}
synchronized public String
getAddress(Ice.Current current)
{
- return address;
+ return address;
}
synchronized public void
setAddress(String address, Ice.Current current)
{
- this.address = address;
+ this.address = address;
}
synchronized public String
getPhone(Ice.Current current)
{
- return phone;
+ return phone;
}
synchronized public void
setPhone(String phone, Ice.Current current)
{
- this.phone = phone;
+ this.phone = phone;
}
public void
destroy(Ice.Current current)
- throws DatabaseException
+ throws DatabaseException
{
- try
- {
- _factory.getEvictor().remove(current.id);
- }
- catch(Freeze.DatabaseException ex)
- {
- DatabaseException e = new DatabaseException();
- e.message = ex.message;
- throw e;
- }
+ try
+ {
+ _factory.getEvictor().remove(current.id);
+ }
+ catch(Freeze.DatabaseException ex)
+ {
+ DatabaseException e = new DatabaseException();
+ e.message = ex.message;
+ throw e;
+ }
}
ContactI(ContactFactory factory)
{
- _factory = factory;
- //
- // It's possible to avoid this if there were two constructors
- // - one for original creation of the Contact and one for
- // loading of an existing Contact.
- //
- name = new String();
- address = new String();
- phone = new String();
+ _factory = factory;
+ //
+ // It's possible to avoid this if there were two constructors
+ // - one for original creation of the Contact and one for
+ // loading of an existing Contact.
+ //
+ name = new String();
+ address = new String();
+ phone = new String();
}
private ContactFactory _factory;