summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/JavaUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/JavaUtil.cpp')
-rw-r--r--cpp/src/Slice/JavaUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/JavaUtil.cpp b/cpp/src/Slice/JavaUtil.cpp
index 6b6559b4f2f..e98b2d8aa05 100644
--- a/cpp/src/Slice/JavaUtil.cpp
+++ b/cpp/src/Slice/JavaUtil.cpp
@@ -613,7 +613,7 @@ Slice::JavaGenerator::getOptionalFormat(const TypePtr& type)
}
case Builtin::KindObject:
{
- return "Ice.OptionalFormat.Size";
+ return "Ice.OptionalFormat.Class";
}
case Builtin::KindObjectProxy:
{
@@ -658,7 +658,7 @@ Slice::JavaGenerator::getOptionalFormat(const TypePtr& type)
ClassDeclPtr cl = ClassDeclPtr::dynamicCast(type);
assert(cl);
- return "Ice.OptionalFormat.Size";
+ return "Ice.OptionalFormat.Class";
}
string