summaryrefslogtreecommitdiff
path: root/java/src/Freeze/LinkedList.java
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-06-23 21:17:04 +0000
committerMarc Laukien <marc@zeroc.com>2002-06-23 21:17:04 +0000
commit59788b8663f1f05a95b7afbbc6d2846dae11c96a (patch)
treec3ed292df270f11157decb83827d9af4144db52d /java/src/Freeze/LinkedList.java
parentfile run.py was initially added on branch location. (diff)
downloadice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.bz2
ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.xz
ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.zip
removed spaces after keywords
Diffstat (limited to 'java/src/Freeze/LinkedList.java')
-rw-r--r--java/src/Freeze/LinkedList.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/java/src/Freeze/LinkedList.java b/java/src/Freeze/LinkedList.java
index 93dbe30f163..a8d7b8e4ab0 100644
--- a/java/src/Freeze/LinkedList.java
+++ b/java/src/Freeze/LinkedList.java
@@ -32,7 +32,7 @@ class LinkedList
public Object
getFirst()
{
- if (_size == 0)
+ if(_size == 0)
{
throw new java.util.NoSuchElementException();
}
@@ -81,14 +81,14 @@ class LinkedList
public Object
next()
{
- if (_next == null)
+ if(_next == null)
{
throw new java.util.NoSuchElementException();
}
_current = _next;
- if (_next.next != _header)
+ if(_next.next != _header)
{
_next = _next.next;
}
@@ -102,7 +102,7 @@ class LinkedList
public void
remove()
{
- if (_current == null)
+ if(_current == null)
{
throw new IllegalStateException();
}
@@ -112,7 +112,7 @@ class LinkedList
ForwardIterator()
{
- if (_header.next == _header)
+ if(_header.next == _header)
{
_next = null;
}
@@ -138,14 +138,14 @@ class LinkedList
public Object
next()
{
- if (_next == null)
+ if(_next == null)
{
throw new java.util.NoSuchElementException();
}
_current = _next;
- if (_next.previous != _header)
+ if(_next.previous != _header)
{
_next = _next.previous;
}
@@ -159,7 +159,7 @@ class LinkedList
public void
remove()
{
- if (_current == null)
+ if(_current == null)
{
throw new IllegalStateException();
}
@@ -169,7 +169,7 @@ class LinkedList
ReverseIterator()
{
- if (_header.next == _header)
+ if(_header.next == _header)
{
_next = null;
}
@@ -211,7 +211,7 @@ class LinkedList
private void
remove(Entry e)
{
- if (e == _header)
+ if(e == _header)
{
throw new java.util.NoSuchElementException();
}