summaryrefslogtreecommitdiff
path: root/java/test/Freeze/complex/Complex/NumberNodeI.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/NumberNodeI.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/NumberNodeI.java')
-rw-r--r--java/test/Freeze/complex/Complex/NumberNodeI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/test/Freeze/complex/Complex/NumberNodeI.java b/java/test/Freeze/complex/Complex/NumberNodeI.java
index cf9080a7173..ad7c1dc574f 100644
--- a/java/test/Freeze/complex/Complex/NumberNodeI.java
+++ b/java/test/Freeze/complex/Complex/NumberNodeI.java
@@ -20,12 +20,12 @@ public class NumberNodeI extends NumberNode
public
NumberNodeI(int number)
{
- _number = number;
+ this.number = number;
}
public int
calc(Ice.Current current)
{
- return _number;
+ return number;
}
}