summaryrefslogtreecommitdiff
path: root/java/test/Freeze/complex/Complex/AddNodeI.java
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2002-07-25 07:04:46 +0000
committerMichi Henning <michi@zeroc.com>2002-07-25 07:04:46 +0000
commit9e9f73e98a399180afc1a618bd4cba534fa5ed7b (patch)
tree87ab44e1284c95a9f129a7536225c6b4df79de65 /java/test/Freeze/complex/Complex/AddNodeI.java
parentFixes (diff)
downloadice-9e9f73e98a399180afc1a618bd4cba534fa5ed7b.tar.bz2
ice-9e9f73e98a399180afc1a618bd4cba534fa5ed7b.tar.xz
ice-9e9f73e98a399180afc1a618bd4cba534fa5ed7b.zip
Changed Slice parser to disallow leading underscore for identifiers.
Changed Slice parser to reject identifiers beginning with "Ice", unless the --ice option is used. Changed Slice parser to disallow identifiers that have a trailing "Operations", "Holder", "Helper", "Prx", or "Ptr", to avoid clashes with language mappings. Fixed tests and remaining code base to work correctly with the changed rules.
Diffstat (limited to 'java/test/Freeze/complex/Complex/AddNodeI.java')
-rw-r--r--java/test/Freeze/complex/Complex/AddNodeI.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/test/Freeze/complex/Complex/AddNodeI.java b/java/test/Freeze/complex/Complex/AddNodeI.java
index ac184494716..54d997b693f 100644
--- a/java/test/Freeze/complex/Complex/AddNodeI.java
+++ b/java/test/Freeze/complex/Complex/AddNodeI.java
@@ -20,13 +20,13 @@ public class AddNodeI extends AddNode
public
AddNodeI(Node left, Node right)
{
- _left = left;
- _right = right;
+ this.left = left;
+ this.right = right;
}
public int
calc(Ice.Current current)
{
- return _left.calc(current) + _right.calc(current);
+ return left.calc(current) + right.calc(current);
}
}