summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2009-05-15 15:41:31 +1000
committerMichi Henning <michi@zeroc.com>2009-05-15 15:41:31 +1000
commit8feea4e058bdb116bfb7133314a588f7431cc400 (patch)
treeaa063725b8d0438fe11a03ee826e23c180fedfa9 /cpp/src
parentFixed a few more issues reported by FindBugs, mostly about inconsistencies wi... (diff)
downloadice-8feea4e058bdb116bfb7133314a588f7431cc400.tar.bz2
ice-8feea4e058bdb116bfb7133314a588f7431cc400.tar.xz
ice-8feea4e058bdb116bfb7133314a588f7431cc400.zip
Made checksum map final. Fixed latent bug where wait() was called outside loop.
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2java/Gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index 8135f0465ab..aaf832a60c7 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -1299,7 +1299,7 @@ Slice::Gen::writeChecksumClass(const string& checksumClass, const string& dir, c
//
// Use a static initializer to populate the checksum map.
//
- out << sp << nl << "public static java.util.Map<String, String> checksums;";
+ out << sp << nl << "public static final java.util.Map<String, String> checksums;";
out << sp << nl << "static";
out << sb;
out << nl << "java.util.Map<String, String> map = new java.util.HashMap<String, String>();";