summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/src/slice2freezej/Main.cpp3
-rw-r--r--java/src/IceGridGUI/src/main/java/IceGridGUI/SimpleInternalFrame.java16
2 files changed, 14 insertions, 5 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;
diff --git a/java/src/IceGridGUI/src/main/java/IceGridGUI/SimpleInternalFrame.java b/java/src/IceGridGUI/src/main/java/IceGridGUI/SimpleInternalFrame.java
index 14b0a514911..828f228d3d7 100644
--- a/java/src/IceGridGUI/src/main/java/IceGridGUI/SimpleInternalFrame.java
+++ b/java/src/IceGridGUI/src/main/java/IceGridGUI/SimpleInternalFrame.java
@@ -165,7 +165,9 @@ public class SimpleInternalFrame extends JPanel {
/**
* Returns the frame's title text.
- * * @return String the current title text */
+ *
+ * @return String the current title text
+ */
public String getTitle() {
return titleLabel.getText();
}
@@ -178,7 +180,9 @@ public class SimpleInternalFrame extends JPanel {
/**
* Sets a new title text.
- * * @param newText the title text tp be set */
+ *
+ * @param newText the title text tp be set
+ */
public void setTitle(String newText) {
String oldText = getTitle();
titleLabel.setText(newText);
@@ -222,7 +226,9 @@ public class SimpleInternalFrame extends JPanel {
/**
* Returns the content - null, if none has been set.
- * * @return the current content */
+ *
+ * @return the current content
+ */
public Component getContent() {
return hasContent() ? getComponent(1) : null;
}
@@ -230,7 +236,9 @@ public class SimpleInternalFrame extends JPanel {
/**
* Sets a new panel content; replaces any existing content, if existing.
- * * @param newContent the panel's new content */
+ *
+ * @param newContent the panel's new content
+ */
public void setContent(Component newContent) {
Component oldContent = getContent();
if (hasContent()) {