diff options
author | Michi Henning <michi@zeroc.com> | 2002-07-25 07:04:46 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2002-07-25 07:04:46 +0000 |
commit | 9e9f73e98a399180afc1a618bd4cba534fa5ed7b (patch) | |
tree | 87ab44e1284c95a9f129a7536225c6b4df79de65 /java/test/Freeze/complex/Complex/MultiplyNodeI.java | |
parent | Fixes (diff) | |
download | ice-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/MultiplyNodeI.java')
-rw-r--r-- | java/test/Freeze/complex/Complex/MultiplyNodeI.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/test/Freeze/complex/Complex/MultiplyNodeI.java b/java/test/Freeze/complex/Complex/MultiplyNodeI.java index bff5cd70762..5f513d4c315 100644 --- a/java/test/Freeze/complex/Complex/MultiplyNodeI.java +++ b/java/test/Freeze/complex/Complex/MultiplyNodeI.java @@ -20,13 +20,13 @@ public class MultiplyNodeI extends MultiplyNode public MultiplyNodeI(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); } } |