Cleanup javadoc

This commit is contained in:
jendib 2013-08-13 02:33:18 +02:00
parent fd3597b3d1
commit e924ac2dd8

View File

@ -63,7 +63,7 @@ public class DocumentResource extends BaseResource {
} }
DocumentDao documentDao = new DocumentDao(); DocumentDao documentDao = new DocumentDao();
Document documentDb = null; Document documentDb;
try { try {
documentDb = documentDao.getDocument(id, principal.getId()); documentDb = documentDao.getDocument(id, principal.getId());
} catch (NoResultException e) { } catch (NoResultException e) {
@ -237,7 +237,7 @@ public class DocumentResource extends BaseResource {
// Get the document // Get the document
DocumentDao documentDao = new DocumentDao(); DocumentDao documentDao = new DocumentDao();
Document document = null; Document document;
try { try {
document = documentDao.getDocument(id, principal.getId()); document = documentDao.getDocument(id, principal.getId());
} catch (NoResultException e) { } catch (NoResultException e) {
@ -267,8 +267,8 @@ public class DocumentResource extends BaseResource {
/** /**
* Update tags list on a document. * Update tags list on a document.
* *
* @param documentId * @param documentId Document ID
* @param tagList * @param tagList Tag ID list
* @throws JSONException * @throws JSONException
*/ */
private void updateTagList(String documentId, List<String> tagList) throws JSONException { private void updateTagList(String documentId, List<String> tagList) throws JSONException {
@ -308,7 +308,7 @@ public class DocumentResource extends BaseResource {
// Get the document // Get the document
DocumentDao documentDao = new DocumentDao(); DocumentDao documentDao = new DocumentDao();
Document document = null; Document document;
try { try {
document = documentDao.getDocument(id, principal.getId()); document = documentDao.getDocument(id, principal.getId());
} catch (NoResultException e) { } catch (NoResultException e) {