diff options
author | Michi Henning <michi@zeroc.com> | 2009-05-15 15:41:31 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2009-05-15 15:41:31 +1000 |
commit | 8feea4e058bdb116bfb7133314a588f7431cc400 (patch) | |
tree | aa063725b8d0438fe11a03ee826e23c180fedfa9 /cpp/src | |
parent | Fixed a few more issues reported by FindBugs, mostly about inconsistencies wi... (diff) | |
download | ice-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.cpp | 2 |
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>();"; |