diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-04-11 13:06:08 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-04-11 13:06:08 +0000 |
commit | c745c454987a3deab6548cee22f144264546ea2b (patch) | |
tree | 1eeef9ea8036ee13f9002e768fe828301d32a1d7 /cpp/src/slice2java/Gen.cpp | |
parent | Changes to garbage collector to speed it up for highly-connected graphs. (diff) | |
download | ice-c745c454987a3deab6548cee22f144264546ea2b.tar.bz2 ice-c745c454987a3deab6548cee22f144264546ea2b.tar.xz ice-c745c454987a3deab6548cee22f144264546ea2b.zip |
fix for bug 940: Eclipse warning
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r-- | cpp/src/slice2java/Gen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp index 8d22751c2dc..909b0ddbba8 100644 --- a/cpp/src/slice2java/Gen.cpp +++ b/cpp/src/slice2java/Gen.cpp @@ -1701,7 +1701,7 @@ Slice::Gen::TypesVisitor::visitClassDefStart(const ClassDefPtr& p) out << sb; out << nl << "if(__rid)"; out << sb; - out << nl << "String myId = __is.readTypeId();"; + out << nl << "__is.readTypeId();"; out << eb; out << nl << "__is.startReadSlice();"; iter = 0; @@ -1747,7 +1747,7 @@ Slice::Gen::TypesVisitor::visitClassDefStart(const ClassDefPtr& p) out << sb; out << nl << "if(__rid)"; out << sb; - out << nl << "String myId = __inS.readTypeId();"; + out << nl << "__inS.readTypeId();"; out << eb; out << nl << "__inS.startSlice();"; iter = 0; @@ -2027,7 +2027,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p) out << sb; out << nl << "if(__rid)"; out << sb; - out << nl << "String myId = __is.readString();"; + out << nl << "__is.readString();"; out << eb; out << nl << "__is.startReadSlice();"; iter = 0; @@ -2079,7 +2079,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p) out << sb; out << nl << "if(__rid)"; out << sb; - out << nl << "String myId = __inS.readString();"; + out << nl << "__inS.readString();"; out << eb; out << nl << "__inS.startSlice();"; iter = 0; |