Skip to content
Snippets Groups Projects
Commit c4bbe553 authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

Add java doc

parent 6a6ab0a4
No related branches found
No related tags found
No related merge requests found
......@@ -39,13 +39,14 @@ public class DefaultBuilder<E> extends AbstractBuilder<E, DefaultBuilder<E>> {
* Create a new Instance.
*
* @return <tt>new E()</tt>, where E is the type of the object being constructed which is the type
* parameter of this class
* @throws IllegalStateException <ul>
* <li>when the type parameter cannot be extracted or is no {@link Class}, but a generic
* type
* <li>or when no default-constructor can be found
* <li>or when the constructor throws an exception other than {@link RuntimeException}
* </ul>
* parameter of this class
* @throws IllegalStateException
* <ul>
* <li>when the type parameter cannot be extracted or is no {@link Class}, but a generic
* type
* <li>or when no default-constructor can be found
* <li>or when the constructor throws an exception other than {@link RuntimeException}
* </ul>
*/
@Override
protected E newInstance() {
......
......@@ -105,9 +105,7 @@ public class WordnetService {
return false;
}
/**
* Close the wordnet dictionary.
*/
/** Close the wordnet dictionary. */
public void close() {
if (dictionary != null && dictionary.isOpen()) {
dictionary.close();
......
......@@ -35,6 +35,7 @@ public class ButtonBean implements Serializable {
/**
* Clear the current dmn.
*
* @return String of the next page
*/
public String setEmptyDmn() {
......@@ -47,6 +48,7 @@ public class ButtonBean implements Serializable {
/**
* Validate the current dmn.
*
* @return String of the next page
*/
public String validateDmn() {
......@@ -60,6 +62,7 @@ public class ButtonBean implements Serializable {
/**
* Set the sample dmn.
*
* @return String of the next page.
*/
public String setSampleDmn() {
......@@ -72,6 +75,7 @@ public class ButtonBean implements Serializable {
/**
* Download the dmn file.
*
* @return a new {@link DefaultStreamedContent}
*/
public StreamedContent getDownloadDmn() {
......@@ -82,6 +86,7 @@ public class ButtonBean implements Serializable {
/**
* Check, if a dmn file was loaded prev.
*
* @return true, if a dmn file is active
*/
public boolean isDisabled() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment