summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-09-23 11:44:17 +0200
committerBenoit Foucher <benoit@zeroc.com>2016-09-23 11:44:17 +0200
commitdc45e59a748019d6916c5d6334984f7c07e492e5 (patch)
tree98ebdfd01560c54c6c1e384fda1a43186a15728f /cpp/src
parentFixed ICE-7230 - Issue with adpater IDs with spaces (diff)
downloadice-dc45e59a748019d6916c5d6334984f7c07e492e5.tar.bz2
ice-dc45e59a748019d6916c5d6334984f7c07e492e5.tar.xz
ice-dc45e59a748019d6916c5d6334984f7c07e492e5.zip
Fix for ICE-7167 - fixed some warnings/errors when generating java docs
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2freezej/Main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/slice2freezej/Main.cpp b/cpp/src/slice2freezej/Main.cpp
index 8817b308b6a..83f50defb11 100644
--- a/cpp/src/slice2freezej/Main.cpp
+++ b/cpp/src/slice2freezej/Main.cpp
@@ -724,6 +724,7 @@ FreezeGenerator::generate(UnitPtr& u, const Dict& dict)
out << sp;
out << nl << "/**"
<< nl << " * Determines the number of elements whose index values match <code>__key</code>."
+ << nl << " * @param __key The key to match."
<< nl << " * @return The number of matching elements."
<< nl << " * @throws Freeze.DatabaseException If an error occurs during database operations."
<< nl << " */";
@@ -764,7 +765,7 @@ FreezeGenerator::generate(UnitPtr& u, const Dict& dict)
<< nl << " * <code>__toKey</code>. Insertions and removals via this map are not supported."
<< nl << " * @param __toKey High endpoint of the keys in the returned map."
<< nl << " * @return A view of the portion of this map whose keys are strictly less than"
- << nl << " * <code>__toKey</code>>"
+ << nl << " * <code>__toKey</code>"
<< nl << " * @throws Freeze.DatabaseException If an error occurs during database operations."
<< nl << " */";
out << nl << "public " + subMap;