diff --git a/api/src/main/java/edu/cornell/mannlib/vedit/util/FormUtils.java b/api/src/main/java/edu/cornell/mannlib/vedit/util/FormUtils.java
index 3b50449ac..cf217bd8e 100644
--- a/api/src/main/java/edu/cornell/mannlib/vedit/util/FormUtils.java
+++ b/api/src/main/java/edu/cornell/mannlib/vedit/util/FormUtils.java
@@ -370,8 +370,7 @@ public class FormUtils {
/**
* Decodes a Base-64-encoded String of format
* key:value;key2:value2;key3:value, and puts the keys and values in a Map
- * @param params
- * @return
+ * @param params Parameters
*/
public static Map beanParamMapFromString(String params) {
String[] param = params.split(";");
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/auth/policy/specialrelationships/RelationshipChecker.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/auth/policy/specialrelationships/RelationshipChecker.java
index 3016aba5d..c696efe05 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/auth/policy/specialrelationships/RelationshipChecker.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/auth/policy/specialrelationships/RelationshipChecker.java
@@ -56,7 +56,7 @@ public class RelationshipChecker {
/**
* Is this resource a member of this type? That is, is there an statement of
- * the form: rdfs:type
+ * the form: {@code rdfs:type }
*/
public boolean isResourceOfType(String resourceUri, String typeUri) {
Selector selector = createSelector(resourceUri,
@@ -86,7 +86,7 @@ public class RelationshipChecker {
/**
* Get a list of the object URIs that satisfy this statement:
*
- *
+ * {@code }
*
* May return an empty list, but never returns null.
*/
@@ -117,9 +117,9 @@ public class RelationshipChecker {
/**
* Get a list of the object URIs that satisfy these statements:
*
- *
+ * {@code }
*
- *
+ * {@code }
*
* May return an empty list, but never returns null.
*/
@@ -161,11 +161,11 @@ public class RelationshipChecker {
*
* So we're looking for object URIs that statisfy these statements:
*
- *
+ * {@code }
*
- * rdfs:type
+ * {@code rdfs:type }
*
- *
+ * {@code }
*/
public List getObjectsThroughLinkingNode(String resourceUri,
String property1Uri, String linkNodeTypeUri, String property2Uri) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/auth/requestedAction/ifaces/RequiresActions.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/auth/requestedAction/ifaces/RequiresActions.java
index df3e801da..0f4393e2f 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/auth/requestedAction/ifaces/RequiresActions.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/auth/requestedAction/ifaces/RequiresActions.java
@@ -27,7 +27,7 @@ public interface RequiresActions {
* calling this method would then have the ability to
* deny the action if it is not authorized.
*
- * @param vreq
+ * @param vreq Vitro request
* @return Should not be null. Return Actions.AUTHORIZED
* if no authorization is required to do use the object.
*/
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/ApplicationBean.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/ApplicationBean.java
index 99dec7616..76b74ed82 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/ApplicationBean.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/ApplicationBean.java
@@ -182,7 +182,6 @@ public class ApplicationBean {
/**
* Directory to find the images. Subdirectories include css, jsp and site_icons.
* Example: "themes/enhanced/"
- * @return
*/
public String getThemeDir(){
if (themeInfo.isValidThemeDir(themeDir)) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/DataProperty.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/DataProperty.java
index 191485226..fef38df6d 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/DataProperty.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/DataProperty.java
@@ -155,7 +155,7 @@ public class DataProperty extends Property implements Comparable,
/**
* adds a single DataPropertyStatement object to a DatatypeProperty's DataPropertyStatements list.
- * @param dataPropertyStmt
+ * @param dataPropertyStmt Data property statement
*/
public void addDataPropertyStatement(DataPropertyStatement dataPropertyStmt){
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/FauxProperty.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/FauxProperty.java
index 2d868520a..a48d9265d 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/FauxProperty.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/FauxProperty.java
@@ -43,14 +43,14 @@ public class FauxProperty extends BaseResourceBean implements ResourceBean,
private String customListView;
/**
- * Arguments are in this order to mimic the relationship: subject ==>
- * property ==> object
+ * Arguments are in this order to mimic the relationship: subject ==>
+ * property ==> object
*
* @param domainURI
* URI of the subject class. May be null.
* @param baseURI
* URI of the property. May not be null.
- * @param rangeUri
+ * @param rangeURI
* URI of the object class. May be null.
*/
public FauxProperty(String domainURI, String baseURI, String rangeURI) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/Individual.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/Individual.java
index 84fc3d935..43d2a5b78 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/Individual.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/Individual.java
@@ -109,7 +109,7 @@ public interface Individual extends ResourceBean, Comparable {
* This is crap. It was put in so IndividualFiltering could filter object properties properly,
* but what we really need is either: filters have a reference to a webappDaoFactory, or
* all ObjectPropertyStatements are resolved when they are created. See VIVO-946 and VIVO-984.
- * @param list
+ * @param list Object property statements
*/
void resolveAsFauxPropertyStatements(List list);
}
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/IndividualImpl.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/IndividualImpl.java
index 94b3262e6..e8023c8d1 100755
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/IndividualImpl.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/IndividualImpl.java
@@ -23,7 +23,7 @@ import edu.cornell.mannlib.vitro.webapp.filestorage.model.ImageInfo;
public class IndividualImpl extends BaseResourceBean implements Individual, Comparable {
/**
* This can be used as a "not initialized" indicator for a property that
- * could validly be set to null. If get() is
+ * could validly be set to {@code null}. If {@code get()} is
* called on such a property, and the property has this value, the correct
* value can be fetched and cached.
*/
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/ObjectProperty.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/ObjectProperty.java
index 37405653e..c3568bc6c 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/ObjectProperty.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/beans/ObjectProperty.java
@@ -253,7 +253,6 @@ public class ObjectProperty extends Property implements Comparable implements Comparable getCompare(){
return new Comparator(){
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/config/ConfigurationProperties.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/config/ConfigurationProperties.java
index 2b861cc1b..efc889249 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/config/ConfigurationProperties.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/config/ConfigurationProperties.java
@@ -125,7 +125,7 @@ public abstract class ConfigurationProperties {
// ----------------------------------------------------------------------
/**
- * Get the value of the property, or null if the property has
+ * Get the value of the property, or {@code null} if the property has
* not been assigned a value.
*/
public abstract String getProperty(String key);
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/DashboardPropertyListController.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/DashboardPropertyListController.java
index fe03f377f..3fec39a99 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/DashboardPropertyListController.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/DashboardPropertyListController.java
@@ -48,8 +48,6 @@ public class DashboardPropertyListController extends VitroHttpServlet {
*
* Expected Attributes:
* entity - set to entity to display properties for.
- *
- * @author bdc34, then jc55
*/
private static final Log log = LogFactory.getLog(DashboardPropertyListController.class.getName());
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/MailUsersServlet.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/MailUsersServlet.java
index 6cf698e6a..25d05b123 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/MailUsersServlet.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/MailUsersServlet.java
@@ -226,7 +226,7 @@ public class MailUsersServlet extends VitroHttpServlet {
}
/** Intended to mangle url so it can get through spam filtering
- * http://host/dir/servlet?param=value -> host: dir/servlet?param=value */
+ * http://host/dir/servlet?param=value -> host: dir/servlet?param=value */
public String stripProtocol( String in ){
if( in == null )
return "";
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/MultipartRequestWrapper.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/MultipartRequestWrapper.java
index 861d400f8..f3d52258c 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/MultipartRequestWrapper.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/MultipartRequestWrapper.java
@@ -37,8 +37,8 @@ import org.apache.commons.logging.LogFactory;
*
* The List of FileItems includes both "formField" items and "file" items. As
* with the usual parameters on a request, we can have more than one value with
- * the same name. So this creates a map of > to hold the
- * parameters, and a map of > to hold the files.
+ * the same name. So this creates a map of <String, List<String>> to hold the
+ * parameters, and a map of <String, List<FileItem>> to hold the files.
*
* The parameters will be available to the wrapper through the normal methods.
* The files will be available as an attribute that holds the map. Also, a
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ContactMailController.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ContactMailController.java
index f76d5e9c8..297042279 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ContactMailController.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ContactMailController.java
@@ -197,7 +197,7 @@ public class ContactMailController extends FreemarkerHttpServlet {
}
/** Intended to mangle url so it can get through spam filtering
- * http://host/dir/servlet?param=value -> host: dir/servlet?param=value */
+ * http://host/dir/servlet?param=value -> host: dir/servlet?param=value */
public String stripProtocol( String in ){
if( in == null )
return "";
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/FreemarkerHttpServlet.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/FreemarkerHttpServlet.java
index dd23a38e3..491aec56c 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/FreemarkerHttpServlet.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/FreemarkerHttpServlet.java
@@ -429,8 +429,6 @@ public class FreemarkerHttpServlet extends VitroHttpServlet {
* shared variables in the Configuration. (Though we could reset them like other
* shared variables. These variables are not needed outside the page and body templates,
* however. If they are needed elsewhere, add to shared variables.
- * @param VitroRequest vreq
- * @return Map
*/
// RY This is protected instead of private so FreeMarkerComponentGenerator can access.
// Once we don't need that (i.e., jsps have been eliminated) it can be made private.
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ImageUploadHelper.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ImageUploadHelper.java
index 91bcd0a15..e7bb9eb45 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ImageUploadHelper.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ImageUploadHelper.java
@@ -106,7 +106,7 @@ public class ImageUploadHelper {
* The image must be present and non-empty, and must have a mime-type that
* represents an image we support.
*
- * We rely on the fact that a {@link FileUploadServletRequest} will always
+ * We rely on the fact that a FileUploadServletRequest will always
* have a map of {@link FileItem}s, even if it is empty. However, that map
* may not contain the field that we want, or that field may contain an
* empty file.
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/grefine/GrefineMqlreadServlet.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/grefine/GrefineMqlreadServlet.java
index 810a44869..03b4dcc31 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/grefine/GrefineMqlreadServlet.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/grefine/GrefineMqlreadServlet.java
@@ -125,9 +125,9 @@ public class GrefineMqlreadServlet extends VitroHttpServlet {
/**
* Construct json from query String
- * @param query
- * @param subjectUriList
- * @param propertyUriMap
+ * @param query Query
+ * @param subjectUriList Subject URIs
+ * @param propertyUriMap Property maps
*/
private void parseQuery(String query, ArrayList subjectUriList, Map propertyUriMap) {
try {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/grefine/JSONReconcileServlet.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/grefine/JSONReconcileServlet.java
index 01ed16d9a..29b005548 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/grefine/JSONReconcileServlet.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/grefine/JSONReconcileServlet.java
@@ -172,9 +172,8 @@ public class JSONReconcileServlet extends VitroHttpServlet {
/**
* Returns a default JSON response.
*
- * @param req
- * @param resp
- * @return
+ * @param req Servlet Request
+ * @param resp Servlet Response
* @throws ServletException
*/
protected JSONObject getMetadata(HttpServletRequest req, HttpServletResponse resp, String defaultNamespace,
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/individual/ExtendedRdfAssembler.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/individual/ExtendedRdfAssembler.java
index 852afcfcf..96326945f 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/individual/ExtendedRdfAssembler.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/individual/ExtendedRdfAssembler.java
@@ -78,7 +78,6 @@ public class ExtendedRdfAssembler {
}
/**
- * @return
*/
public ResponseValues assembleRdf() {
OntModel ontModel = vreq.getJenaOntModel();
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/jena/JenaXMLFileUpload.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/jena/JenaXMLFileUpload.java
index a0a7673f9..c3ca7af2c 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/jena/JenaXMLFileUpload.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/jena/JenaXMLFileUpload.java
@@ -229,8 +229,7 @@ public class JenaXMLFileUpload extends JenaIngestController {
/**
* Save files to baseDirectoryForFiles and return a list of File objects.
- * @param fileStreams
- * @return
+ * @param fileStreams File streams to process
* @throws ServletException
*/
private List saveFiles( Map> fileStreams ) throws ServletException{
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/json/GetEntitiesByVClass.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/json/GetEntitiesByVClass.java
index 467f6f69c..63716d973 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/json/GetEntitiesByVClass.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/controller/json/GetEntitiesByVClass.java
@@ -33,13 +33,14 @@ import edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory;
* If there are more entities the last item on the returned array will be an object
* with no id property. It will look like this:
*
+ * {@code
* {"resultGroup":0,
* "resultKey":"2WEK2306",
* "nextUrl":"http://caruso.mannlib.cornell.edu:8080/vitro/dataservice?getEntitiesByVClass=1&resultKey=2WEK2306&resultGroup=1&vclassId=null",
* "entsInVClass":1752,
* "nextResultGroup":1,
* "standardReplySize":256}
- *
+ * }
*/
public class GetEntitiesByVClass extends JsonArrayProducer {
private static final Log log = LogFactory.getLog(GetEntitiesByVClass.class);
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/IndividualDao.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/IndividualDao.java
index a2769f971..9fadbded5 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/IndividualDao.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/IndividualDao.java
@@ -22,22 +22,21 @@ public interface IndividualDao {
/**
* Adds the specified Individual to the specified VClass (i.e. adds rdf:type).
- * @param individualURI
- * @param vclassURI
+ * @param individualURI Individual URI
+ * @param vclassURI URI for VClass
*/
public abstract void addVClass(String individualURI, String vclassURI);
/**
* Removes the specified Individual from the specificed VClass (i.e. retracts rdf:type)
- * @param individualURI
- * @param vclassURI
+ * @param individualURI Individual URI
+ * @param vclassURI URI for VCLass
*/
public abstract void removeVClass(String individualURI, String vclassURI);
/**
* Returns a list of all the Individuals in the specified VClass.
- * @param vclass
- * @return
+ * @param vclass VClass
*/
public abstract List getIndividualsByVClass(VClass vclass);
@@ -53,7 +52,7 @@ public interface IndividualDao {
int quantity);
/**
- * @returns new individual URI if success.
+ * @return new individual URI if success.
*/
public abstract String insertNewIndividual(Individual individual) throws InsertException;
@@ -65,7 +64,7 @@ public interface IndividualDao {
/**
* deletes a single individual from the knowledge base.
- * @param id
+ * @param individualURI URI of an individual
* @return 0 on failed
*/
public abstract int deleteIndividual(String individualURI);
@@ -78,7 +77,7 @@ public interface IndividualDao {
* Get a row from the entities table and make an Entity.
* PropertiesList will not be filled out.
* VClass will be filled out.
- * @param entityId
+ * @param individualURI URI for Individual
* @return an Entity object or null if not found.
*/
public abstract Individual getIndividualByURI(String individualURI);
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/ObjectPropertyDao.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/ObjectPropertyDao.java
index 82df46d3a..b612acc1b 100755
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/ObjectPropertyDao.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/ObjectPropertyDao.java
@@ -19,10 +19,10 @@ public interface ObjectPropertyDao extends PropertyDao {
* Use this method to supply a base ObjectProperty whose fields will be updated
* as necessary to correspond to the configuration for the specified Domain
* and Range.
- * @param objectPropertyURI
- * @param domainURI
- * @param rangeURI
- * @param base
+ * @param objectPropertyURI Object Property URI
+ * @param domainURI Domain URI
+ * @param rangeURI Range URI
+ * @param base Object property
* @return ObjectProperty
*/
public ObjectProperty getObjectPropertyByURIs(String objectPropertyURI, String domainURI, String rangeURI, ObjectProperty base);
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/PageDao.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/PageDao.java
index 3004dddd7..e8fc93329 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/PageDao.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/PageDao.java
@@ -10,14 +10,11 @@ public interface PageDao {
/**
* Returns a list of urlMappings to URIs.
- *
- * @return
*/
Map getPageMappings();
/**
* Returns URI of home page.
- * @return
*/
String getHomePageUri();
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/VClassDao.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/VClassDao.java
index 0c4ecce8a..3383fbb50 100755
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/VClassDao.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/VClassDao.java
@@ -89,15 +89,15 @@ public interface VClassDao {
void addVClassesToGroups(List groups );
/**
- * @param vc1
- * @param vc2
+ * @param vc1 VCLass
+ * @param vc2 VClass
* @return true if vc1 subClassOf vc2
*/
boolean isSubClassOf(VClass vc1, VClass vc2);
/**
- * @param vc1
- * @param vc2
+ * @param vclassURI1 VClass URI
+ * @param vclassURI2 VClass URI
* @return true if vc1 subClassOf vc2
*/
boolean isSubClassOf(String vclassURI1, String vclassURI2);
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/VClassGroupDao.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/VClassGroupDao.java
index 8c906c3b3..65a960d74 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/VClassGroupDao.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/VClassGroupDao.java
@@ -13,9 +13,7 @@ public interface VClassGroupDao {
/**
* Gets all of the ClassGroups as a map ordered by displayRank.
- * VClassGroup.getPublicName() -> VClassGroup
- *
- * @return
+ * VClassGroup.getPublicName() -> VClassGroup
*/
public abstract LinkedHashMap getClassGroupMap();
@@ -27,24 +25,24 @@ public interface VClassGroupDao {
/**
* Return a list of VClassGroups with their associated VClasses
- * @param displayOrder
+ * @param displayOrder Display order
* @return List
*/
public abstract List getPublicGroupsWithVClasses(boolean displayOrder);
/**
* Return a list of VClassGroups with their associated VClasses
- * @param displayOrder
- * @param includeUninstantiatedClasses
+ * @param displayOrder Display order
+ * @param includeUninstantiatedClasses Include all classes
* @return List
*/
public abstract List getPublicGroupsWithVClasses(boolean displayOrder, boolean includeUninstantiatedClasses);
/**
* Return a list of VClassGroups with their associated VClasses
- * @param displayOrder
- * @param includeUninstantiatedClasses
- * @param getIndividualCount
+ * @param displayOrder Display order
+ * @param includeUninstantiatedClasses Include all classes
+ * @param getIndividualCount Retrieve individual count
* @return List
*/
public abstract List getPublicGroupsWithVClasses(boolean displayOrder, boolean includeUninstantiatedClasses, boolean getIndividualCount);
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/WebappDaoFactory.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/WebappDaoFactory.java
index fa76dc1ad..84f965cf5 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/WebappDaoFactory.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/WebappDaoFactory.java
@@ -32,8 +32,7 @@ public interface WebappDaoFactory {
/**
* Check if a given URI string exists in the system:
* checks for the following conditions: URI found as subject in a statement or an object or as a property
- * @param uriStr
- * @return
+ * @param uriStr URI String
*/
public boolean hasExistingURI(String uriStr);
@@ -54,15 +53,13 @@ public interface WebappDaoFactory {
/**
* Copy this DAO factory to a new object associated with the specified user
* URI, or return the same factory if a user-aware version cannot be used.
- * @param userURI
- * @return
+ * @param userURI User URI
*/
public WebappDaoFactory getUserAwareDaoFactory(String userURI);
/**
* Return URI of user associated with this WebappDaoFactory,
* or null if not applicable.
- * @return
*/
public String getUserURI();
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/IndividualDaoSDB.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/IndividualDaoSDB.java
index 0ea68b060..b4512c3a4 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/IndividualDaoSDB.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/IndividualDaoSDB.java
@@ -308,7 +308,7 @@ public class IndividualDaoSDB extends IndividualDaoJena {
/**
* fills in the Individual objects needed for any ObjectPropertyStatements
* attached to the specified individual.
- * @param entity
+ * @param entity An individual
*/
private void fillIndividualsForObjectPropertyStatements(Individual entity){
getOntModel().enterCriticalSection(Lock.READ);
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/JenaBaseDao.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/JenaBaseDao.java
index 74de28a8b..a9e9b2f92 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/JenaBaseDao.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/JenaBaseDao.java
@@ -461,9 +461,10 @@ public class JenaBaseDao extends JenaBaseDaoCon {
/**
* convenience method
- * @param ind
- * @param dataprop
- * @param value
+ * @param res Resource
+ * @param dataprop Datatype property
+ * @param value Date
+ * @param model Jena Model
*/
protected synchronized void addPropertyDateValue(Resource res, DatatypeProperty dataprop, Date value, Model model) {
if (dataprop != null && value != null) {
@@ -916,7 +917,7 @@ public class JenaBaseDao extends JenaBaseDaoCon {
/**
* Checks a URI for validity. Jena models can store invalid URIs, but this causes RDF/XML output serialization to fail.
- * @param uri
+ * @param uri URI
* @return null if URI is good, otherwise an error message String
*/
protected String checkURI( String uri ) {
@@ -1047,8 +1048,8 @@ public class JenaBaseDao extends JenaBaseDaoCon {
/**
* Returns additions and retractions to perform
- * @param ontRes
- * @param ontModel
+ * @param ontRes Ontology resource
+ * @param ontModel Ontology model
* @return Model[] where [0] is retractions and [1] is additions
*/
protected Model[] getSmartRemoval(OntResource ontRes, OntModel ontModel) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/JenaModelUtils.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/JenaModelUtils.java
index 93c9bd19d..fa370031e 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/JenaModelUtils.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/JenaModelUtils.java
@@ -60,7 +60,7 @@ public class JenaModelUtils {
* an ontology. Also creates annotations to place each root class and all
* of its children in the appropriate groups. In the case of multiple
* inheritance, classgroup assignment will be arbitrary.
- * @param wadf
+ * @param wadf DAO Factory
* @param tboxModel containing ontology classes
* @return resultArray of OntModels, where resultArray[0] is the model containing
* the triples about the classgroups, and resultArray[1] is the model containing
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/PageDaoJena.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/PageDaoJena.java
index fd333560b..612266e0f 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/PageDaoJena.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/PageDaoJena.java
@@ -370,8 +370,7 @@ public class PageDaoJena extends JenaBaseDao implements PageDao {
* Gets a URI for display:forClassGroup for the specified page.
* Only one value is expected in the model.
* This may return null if there is no ClassGroup associated with the page.
- * @param pageUri
- * @return
+ * @param pageUri Page URI
*/
@Override
public String getClassGroupPage(String pageUri) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/PropertyDaoJena.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/PropertyDaoJena.java
index ec2062718..56676c2d7 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/PropertyDaoJena.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/PropertyDaoJena.java
@@ -412,7 +412,7 @@ public class PropertyDaoJena extends JenaBaseDao implements PropertyDao {
/**
* Find named classes to which a restriction "applies"
- * @param resourceURI identifier of a class
+ * @param ontClass Ontology class
* @return set of class URIs
*
* Note: this method assumes that the caller holds a read lock on
@@ -461,7 +461,7 @@ public class PropertyDaoJena extends JenaBaseDao implements PropertyDao {
/**
* requires SPARQL 1.1 (or ARQ) property path support
- * @param vclassURI
+ * @param vclassURI VClass URI
* @return list of property resources with union domains that include the vclass
*/
protected List getPropertiesWithAppropriateDomainFor(String vclassURI) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/RDFServiceGraph.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/RDFServiceGraph.java
index a8ad33786..4bea5bb45 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/RDFServiceGraph.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/RDFServiceGraph.java
@@ -60,7 +60,7 @@ public class RDFServiceGraph implements GraphWithPerform {
/**
* Returns a SparqlGraph for the union of named graphs in a remote repository
- * @param endpointURI
+ * @param rdfService RDF Service
*/
public RDFServiceGraph(RDFService rdfService) {
this(rdfService, null);
@@ -68,8 +68,8 @@ public class RDFServiceGraph implements GraphWithPerform {
/**
* Returns a SparqlGraph for a particular named graph in a remote repository
- * @param endpointURI
- * @param graphURI
+ * @param rdfService RDFService
+ * @param graphURI Graph URI
*/
public RDFServiceGraph(RDFService rdfService, String graphURI) {
this.rdfService = rdfService;
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/RDFServiceGraphBulkUpdater.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/RDFServiceGraphBulkUpdater.java
index 3530fba32..acb56c612 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/RDFServiceGraphBulkUpdater.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/RDFServiceGraphBulkUpdater.java
@@ -89,8 +89,7 @@ public class RDFServiceGraphBulkUpdater implements BulkUpdateHandler {
/**
* Returns a pair of models. The first contains any statement containing at
* least one blank node. The second contains all remaining statements.
- * @param g
- * @return
+ * @param g Graph
*/
private Model[] separateStatementsWithBlankNodes(Graph g) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/SparqlGraph.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/SparqlGraph.java
index ff80fc81c..a03e461dd 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/SparqlGraph.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/SparqlGraph.java
@@ -60,7 +60,7 @@ public class SparqlGraph implements GraphWithPerform {
/**
* Returns a SparqlGraph for the union of named graphs in a remote repository
- * @param endpointURI
+ * @param endpointURI Endpoint URI
*/
public SparqlGraph(String endpointURI) {
this(endpointURI, null);
@@ -68,8 +68,8 @@ public class SparqlGraph implements GraphWithPerform {
/**
* Returns a SparqlGraph for a particular named graph in a remote repository
- * @param endpointURI
- * @param graphURI
+ * @param endpointURI Endpoint URI
+ * @param graphURI Graph URI
*/
public SparqlGraph(String endpointURI, String graphURI) {
this.endpointURI = endpointURI;
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/SparqlGraphBulkUpdater.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/SparqlGraphBulkUpdater.java
index 25ed061c7..3a481096d 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/SparqlGraphBulkUpdater.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/SparqlGraphBulkUpdater.java
@@ -82,8 +82,7 @@ public class SparqlGraphBulkUpdater extends SimpleBulkUpdateHandler {
/**
* Returns a pair of models. The first contains any statement containing at
* least one blank node. The second contains all remaining statements.
- * @param g
- * @return
+ * @param g Jena Graph
*/
private Model[] separateStatementsWithBlankNodes(Graph g) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/VClassDaoJena.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/VClassDaoJena.java
index d136a95f7..1ebf320d3 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/VClassDaoJena.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/VClassDaoJena.java
@@ -493,7 +493,6 @@ public class VClassDaoJena extends JenaBaseDao implements VClassDao {
* of determining whether something is a root class.
* We also avoid ClassCastExceptions deep in Jena-land by eschewing Jena's
* listSuperClasses() method.
- * @author bjl23
*/
private Iterator smarterListHierarchyRootClasses(OntModel ontModel, String ontologyURI) {
List rootClassList = new ArrayList();
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/WebappDaoFactoryJena.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/WebappDaoFactoryJena.java
index 826c5f36a..0b83478d1 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/WebappDaoFactoryJena.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/WebappDaoFactoryJena.java
@@ -451,7 +451,7 @@ public class WebappDaoFactoryJena implements WebappDaoFactory {
/**
* Method for creating a copy - does not pass the same object
- * @param base
+ * @param base DAO Factory
*/
public WebappDaoFactoryJena (WebappDaoFactoryJena base) {
// Not sure if selector somehow has greater longevity so
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dwr/EntityDWR.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dwr/EntityDWR.java
index 289cf0f45..17cba228e 100755
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dwr/EntityDWR.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dwr/EntityDWR.java
@@ -33,7 +33,7 @@ public class EntityDWR {
/**
* Insets a new entity into the Vitro system.
- * @returns < 1 if failed, entityId if success.
+ * @return < 1 if failed, entityId if success.
*/
public String insertNewEntity(Individual ent ){
try {
@@ -47,8 +47,6 @@ public class EntityDWR {
/**
********************************************************
* Gets an Entity object for a given entities.id.
- * @param entityId
- * @return
*/
public Individual entityByURI(String entityURI){
WebContext ctx = WebContextFactory.get();
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dwr/PropertyDWR.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dwr/PropertyDWR.java
index 038a887ba..94caff72b 100755
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dwr/PropertyDWR.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dwr/PropertyDWR.java
@@ -49,7 +49,7 @@ public class PropertyDWR {
/**
* Gets only unhidden properties.
- * @returns Collection of PropertyInstance objs
+ * @return Collection of PropertyInstance objs
*/
public Collection getAllPropInstByVClass(String classURI){
WebContext ctx = WebContextFactory.get();
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dwr/VClassDWR.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dwr/VClassDWR.java
index c9563e54d..d93e75756 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dwr/VClassDWR.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/dwr/VClassDWR.java
@@ -28,8 +28,8 @@ public class VClassDWR {
* add proprties form.
*
*
- * @param vclassId - vclass we want to make a property for
- * @param propertyId - property we want to use
+ * @param vclassURI - vclass we want to make a property for
+ * @param propertyURI - property we want to use
* @param filterOutUninstanciated - if true filter out any vclasses with zero instances.
* @return a list of VClass objects, one for each vclass that could be in the
* relation indicated by the parameters.
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/DateTimeWithPrecisionVTwo.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/DateTimeWithPrecisionVTwo.java
index d4dbc8669..5e6b65c65 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/DateTimeWithPrecisionVTwo.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/DateTimeWithPrecisionVTwo.java
@@ -26,7 +26,7 @@ import freemarker.template.Configuration;
/**
* This is intended to work in conjunction with a template to create the HTML for a
* datetime with precision and to convert the submitted parameters into
- * varname -> Literal and varname -> URI maps.
+ * varname -> Literal and varname -> URI maps.
*
* The variables that get passed to the template are defined in:
* DateTimeWithPrecision.getMapForTemplate()
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/EditConfigurationUtils.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/EditConfigurationUtils.java
index a445b091c..2227eec5d 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/EditConfigurationUtils.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/EditConfigurationUtils.java
@@ -302,7 +302,6 @@ public class EditConfigurationUtils {
return copyList;
}
- /** Make a copy of a Map */
public static Map copyMap(Map source) {
HashMap map = new HashMap();
Set keys = map.keySet();
@@ -315,7 +314,6 @@ public class EditConfigurationUtils {
return map;
}
- /** Make a copy of a Map> */
public static Map> copyListMap(Map> source) {
HashMap> map = new HashMap>();
Set keys = map.keySet();
@@ -326,7 +324,6 @@ public class EditConfigurationUtils {
return map;
}
-
public static EditConfigurationVTwo getEditConfiguration(HttpServletRequest request) {
HttpSession session = request.getSession();
EditConfigurationVTwo editConfiguration = EditConfigurationVTwo.getConfigFromSession(session, request);
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/EditConfigurationVTwo.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/EditConfigurationVTwo.java
index 0d214060a..7eb33bc0e 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/EditConfigurationVTwo.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/EditConfigurationVTwo.java
@@ -449,7 +449,6 @@ public class EditConfigurationVTwo {
}
/** Return a copy of the value so that the configuration is not modified by external code.
- * @return
*/
public List getN3Required() {
return EditConfigurationUtils.copy(n3Required);
@@ -471,7 +470,6 @@ public class EditConfigurationVTwo {
this.n3Required.addAll(Arrays.asList( n3RequiredStrsInput ));
}
/** return a copy of the value so that the configuration is not modified by external code.
- * @return
*/
public List getN3Optional() {
return EditConfigurationUtils.copy( n3Optional );
@@ -600,7 +598,6 @@ public class EditConfigurationVTwo {
}
/** Return a copy of the value so that the configuration is not modified by external code.
- * @return
*/
public Map getSparqlForAdditionalUrisInScope() {
return copyMap(sparqlForAdditionalUrisInScope);
@@ -611,7 +608,6 @@ public class EditConfigurationVTwo {
}
/** Return a copy of the value so that the configuration is not modified by external code.
- * @return
*/
public Map getSparqlForAdditionalLiteralsInScope() {
return copyMap(sparqlForAdditionalLiteralsInScope);
@@ -650,7 +646,6 @@ public class EditConfigurationVTwo {
}
/** return a copy of the value so that the configuration is not modified by external code.
- * @return
*/
public Map getSparqlForExistingLiterals() {
return copyMap(sparqlForExistingLiterals);
@@ -661,7 +656,6 @@ public class EditConfigurationVTwo {
}
/** return a copy of the value so that the configuration is not modified by external code.
- * @return
*/
public Map getSparqlForExistingUris() {
return copyMap(sparqlForExistingUris);
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/EditN3GeneratorVTwo.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/EditN3GeneratorVTwo.java
index 39ea3f3b0..980b538da 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/EditN3GeneratorVTwo.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/EditN3GeneratorVTwo.java
@@ -34,7 +34,7 @@ public class EditN3GeneratorVTwo {
* This takes into account multiple values that would be returned from a select list.
* subInUris should no longer be used.
*
- * It's important that the map contain String to List mapping.
+ * It's important that the map contain String to List<String> mapping.
*
* Before values are sent in, all of the values for a variable should be placed within an array.
*
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/MultiValueEditSubmission.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/MultiValueEditSubmission.java
index abbbe7505..cf154f679 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/MultiValueEditSubmission.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/MultiValueEditSubmission.java
@@ -179,7 +179,7 @@ public class MultiValueEditSubmission {
}
/**
* need to generate something like
- * "09:10:11"^^
+ * {@code "09:10:11"^^}
*/
public Literal getTime(Map queryParameters,String fieldName) {
List hour = Arrays.asList(queryParameters.get("hour" + fieldName));
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/N3EditUtils.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/N3EditUtils.java
index df0189e31..99f9675f9 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/N3EditUtils.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/N3EditUtils.java
@@ -247,8 +247,7 @@ public class N3EditUtils {
/**
* Strips from a string any characters that are not valid in XML 1.0
- * @param in
- * @return
+ * @param in String to strip characters from
*/
public static String stripInvalidXMLChars(String in) {
if (in == null) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java
index 89fffd900..08f5d2d84 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java
@@ -274,7 +274,7 @@ public class ProcessRdfForm {
/**
* Parse the n3Strings to a List of RDF Model objects.
*
- * @param n3Strings
+ * @param n3Strings N3 Strings to parse
* @param parseType if OPTIONAL, then don't throw exceptions on errors
* If REQUIRED, then throw exceptions on errors.
* @throws Exception
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/RdfLiteralHash.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/RdfLiteralHash.java
index 8cffd9847..415bbfab7 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/RdfLiteralHash.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/RdfLiteralHash.java
@@ -23,7 +23,7 @@ import edu.cornell.mannlib.vitro.webapp.dao.VitroVocabulary;
* RDF literal statement without including the whole literal in the parameters.
*
* ex.
- * http://fake.com/delete?sub="http://bob"&pred="http://hasNickName"&stmtHash="23443434"
+ * {@code http://fake.com/delete?sub="http://bob"&pred="http://hasNickName"&stmtHash="23443434"}
*
* This could request the deletion of a the statement for Bob's nickname where the
* literal matched the hash 23443434.
@@ -39,7 +39,7 @@ public class RdfLiteralHash {
/**
* Make a hash based on individual, property, literal and (lang or datatype).
*
- * @param stmt
+ * @param stmt Data statement
* @return a value between MIN_INTEGER and MAX_INTEGER
*/
public static int makeRdfLiteralHash( DataPropertyStatement stmt ){
@@ -72,9 +72,8 @@ public class RdfLiteralHash {
/**
- * @param stmt
- * @param hash
- * @return
+ * @param stmt Data statement
+ * @param hash Hash
*/
public static boolean doesStmtMatchHash( DataPropertyStatement stmt, int hash){
if( stmt == null )
@@ -92,9 +91,9 @@ public class RdfLiteralHash {
/**
* Forward to either getDataPropertyStmtByHash or getRdfsLabelStatementByHash, depending on the property.
- * @param subjectUri,
- * @param predicateUri,
- * @param hash
+ * @param subjectUri Subject URI
+ * @param predicateUri Predicate URI
+ * @param hash Hash
* @param model, may not be null
* @return a DataPropertyStatement if found or null if not found
*/
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/fields/FieldOptions.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/fields/FieldOptions.java
index 12f2182c4..8a9251a03 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/fields/FieldOptions.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/fields/FieldOptions.java
@@ -20,7 +20,7 @@ public interface FieldOptions {
* Any object that are needed to get the options should
* be passed in the constructor of the implementation.
*
- * @return return a map of value->label for the options.
+ * @return return a map of value->label for the options.
* Should never return null.
*
* @throws Exception
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/controller/PostEditCleanupController.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/controller/PostEditCleanupController.java
index dff0cae1d..7409da04a 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/controller/PostEditCleanupController.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/controller/PostEditCleanupController.java
@@ -46,7 +46,6 @@ public class PostEditCleanupController extends FreemarkerHttpServlet{
* Returns a redirect after an edit.
* @param vreq - should have an edit configuration in attributes or session
* @param entityToReturnTo - may be null
- * @return
*/
protected static ResponseValues doPostEditRedirect( VitroRequest vreq , String entityToReturnTo){
EditConfigurationVTwo editConfig = EditConfigurationVTwo.getConfigFromSession(vreq.getSession(), vreq);
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/FileServingHelper.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/FileServingHelper.java
index ab8da1fcb..17cc446f2 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/FileServingHelper.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/FileServingHelper.java
@@ -106,7 +106,7 @@ public class FileServingHelper {
* replacing the file prefix with the default namespace.
*
*
- * @return the URI, or null if the URL couldn't be translated.
+ * @return the URI, or {@code null} if the URL couldn't be translated.
*/
public static String getBytestreamUri(String path, ServletContext ctx) {
if (path == null) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/TempFileHolder.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/TempFileHolder.java
index e0ad95c58..ffc790290 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/TempFileHolder.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/TempFileHolder.java
@@ -31,7 +31,7 @@ public class TempFileHolder implements HttpSessionBindingListener {
private static final Log log = LogFactory.getLog(TempFileHolder.class);
/**
- * Create a {@link TempFileHolder} holding the given {@link FileInfo}, and
+ * Create a holding the given {@link FileInfo}, and
* attach it to the session with the given attribute name.
*
* If an attribute with this name already exists, it is replaced.
@@ -52,11 +52,11 @@ public class TempFileHolder implements HttpSessionBindingListener {
}
/**
- * Get the {@link TempFileHolder} which is stored as an attribute on this
+ * Get the which is stored as an attribute on this
* session, extract the {@link FileInfo} from it, and remove it from the
* session.
*
- * If there is no such attribute, of if it is not a {@link TempFileHolder},
+ * If there is no such attribute, of if it is not a ,
* return null.
*/
public static FileInfo remove(HttpSession session, String attributeName) {
@@ -92,8 +92,6 @@ public class TempFileHolder implements HttpSessionBindingListener {
/**
* Gets the {@link FileInfo} payload, and removes it so the file won't be
* deleted when the value is unbound.
- *
- * @return
*/
private FileInfo extractFileInfo() {
FileInfo result = this.fileInfo;
@@ -103,8 +101,7 @@ public class TempFileHolder implements HttpSessionBindingListener {
/**
* When attached to the session, do nothing.
- *
- * @see HttpSessionBindingListener#valueBound(HttpSessionBindingEvent)
+ *
*/
@Override
public void valueBound(HttpSessionBindingEvent event) {
@@ -115,8 +112,7 @@ public class TempFileHolder implements HttpSessionBindingListener {
* When removed from the session, if the {@link #fileInfo} is not empty,
* delete the file. If you had wanted this file, you should have called
* {@link #remove(HttpSession, String) remove}.
- *
- * @see HttpSessionBindingListener#valueUnbound(HttpSessionBindingEvent)
+ *
*/
@Override
public void valueUnbound(HttpSessionBindingEvent event) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/impl/FileStorageHelper.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/impl/FileStorageHelper.java
index 717d2ce0c..477077fcb 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/impl/FileStorageHelper.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/impl/FileStorageHelper.java
@@ -54,8 +54,6 @@ public class FileStorageHelper {
/**
* Encode the filename as needed to guard against illegal characters.
- *
- * @see edu.cornell.mannlib.vitro.webapp.utils.filestorage
*/
public static String encodeName(String filename) {
String hexed = addHexEncoding(filename);
@@ -149,8 +147,6 @@ public class FileStorageHelper {
/**
* Restore the filename to its original form, removing the encoding.
- *
- * @see edu.cornell.mannlib.vitro.webapp.utils.filestorage
*/
public static String decodeName(String stored) {
String unexcluded = unexcludeWindowsReservedNames(stored);
@@ -228,8 +224,6 @@ public class FileStorageHelper {
* namespace is translated to its prefix, and illegal characters are
* encoded. The resulting string is broken up into 3-character directory
* names (or less). Windows reserved words are prefixed with tilde.
- *
- * @see edu.cornell.mannlib.vitro.webapp.utils.filestorage
*/
public static String id2Path(String id, Map namespacesMap) {
char prefix = 0;
@@ -305,8 +299,6 @@ public class FileStorageHelper {
/**
* Translate the object ID and the file storage root directory into a full
* path to the directory that would represent that ID.
- *
- * @see edu.cornell.mannlib.vitro.webapp.utils.filestorage
*/
public static File getPathToIdDirectory(String id,
Map namespacesMap, File rootDir) {
@@ -316,8 +308,6 @@ public class FileStorageHelper {
/**
* Translate the object ID, the file storage root directory and the filename
* into a full path to where the file would be stored.
- *
- * @see edu.cornell.mannlib.vitro.webapp.utils.filestorage
*/
public static File getFullPath(File rootDir, String id, String filename,
Map namespacesMap) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/impl/FileStorageImpl.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/impl/FileStorageImpl.java
index c02dfbcd3..6eab38aca 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/impl/FileStorageImpl.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/impl/FileStorageImpl.java
@@ -252,8 +252,6 @@ public class FileStorageImpl {
// ----------------------------------------------------------------------
/**
- * {@inheritDoc}
- *
*
* Before creating the file, we may need to create one or more parent
* directories to put it in.
@@ -302,8 +300,6 @@ public class FileStorageImpl {
}
/**
- * {@inheritDoc}
- *
*
* If deleting this file leaves its parent directory empty, that directory
* will be deleted. This repeats, up to (but not including) the root
@@ -409,7 +405,6 @@ public class FileStorageImpl {
}
/**
- * {@inheritDoc}
*/
public InputStream getInputStream(String id, String filename)
throws IOException {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/impl/package-info.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/impl/package-info.java
index 386f40f4d..588a71a52 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/impl/package-info.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/impl/package-info.java
@@ -6,6 +6,7 @@
*
Relationship to PairTree
*
* The system incorporates a number of ideas from the PairTree specification,
+ *
*
*
* The basic pairtree algorithm -
@@ -45,18 +46,17 @@
* "shorty" directory names may be up to 3 characters long, not 2.
*
- * The file_storage_root directory contains the subdirectories
+ * }
+ * The {@code file_storage_root} directory contains the subdirectories
* that implement the encoded IDs, and the final directory for each ID will
* contain a single file that corresponds to that ID.
*
@@ -71,23 +71,24 @@
* For example, the sytem might be initialized with a "namespace" of
* "http://vivo.mydomain.edu/file/". If that is the only namespace, it will
* be internally assigned a prefix of "a", so a URI like this:
+ *
*
http://vivo.mydomain.edu/file/n3424/myPhoto.jpg
* would be converted to this:
*
a~n3424/myPhoto.jpg
- *
*
* The namespaces and their assigned prefixes are stored in a properties file
* when the structure is initialized. When the structure is re-opened, the
* file is read to find the correct prefixes. The file
* might look like this:
+ *
*
* a = http://the.first.namespace/
* b = http://the.second.namespace/
*
* The name of the file is encoded as needed to guard against illegal
@@ -161,9 +157,6 @@
* "common character encoding" steps used for ID encoding, except that
* periods are not encoded.
*
- *
- *
- *
*
* This was summarized in a post to the vivo-dev-all list on 11/29/2010
*
@@ -186,19 +179,19 @@
*
*
* Let's consider a file with this information:
+ *
*
* URI = http://vivo.mydomain.edu/individual/n3156
* Filename = lily1.jpg
*
- *
*
* We want to turn the URI into the directory path, but the URI contains
* prohibited characters. Using a PairTree-like character substitution,
* we might store it at this path:
+ *
* Using that scheme would mean that each file sits in its own directory
* under the storage root. At a large institution, there might be hundreds of
@@ -212,15 +205,16 @@
* per directory. In practice, the number will be considerably smaller.
*
* So then it would look like this:
+ *
* But almost all of our URIs will start with the same namespace, so the
* namespace just adds unnecessary and unhelpful depth to the directory tree.
* We assign a single-character prefix to that namespace, using the
* file_storage_namespaces.properties file in the uploads directory, like this:
+ *
- *
*/
package edu.cornell.mannlib.vitro.webapp.filestorage.impl;
\ No newline at end of file
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/serving/FileServingServlet.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/serving/FileServingServlet.java
index 8ee917595..33a4d1b67 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/serving/FileServingServlet.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filestorage/serving/FileServingServlet.java
@@ -32,13 +32,13 @@ import edu.cornell.mannlib.vitro.webapp.modules.fileStorage.FileStorage;
*
* The path of the request should be the "alias URL" of the desired file. We
* need to:
+ *
*
*
Use the alias URL to find the URI of the file bytestream object.
*
Find the file surrogate object to get the MIME type of the file, and
* confirm the filename.
*
Set the MIME type on the output stream and serve the bytes.
*
- *
*
* If the request is superficially correct, but no such file can be found,
* return a 404. If there is a break in the data structures within the model or
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filters/CachingResponseFilter.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filters/CachingResponseFilter.java
index 15312195a..cb4f5e39c 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filters/CachingResponseFilter.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filters/CachingResponseFilter.java
@@ -66,8 +66,6 @@ import edu.cornell.mannlib.vitro.webapp.utils.searchengine.SearchResultsParser;
*
* An unconditional request may mean that there is no external cache, or that
* the cache doesn't have a copy of this particular page.
- *
- * @see http://tools.ietf.org/pdf/rfc2616
*/
public class CachingResponseFilter implements Filter {
private static final Log log = LogFactory
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filters/JSessionStripFilter.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filters/JSessionStripFilter.java
index 08d4bb507..6f22d8d19 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filters/JSessionStripFilter.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filters/JSessionStripFilter.java
@@ -22,6 +22,7 @@ import org.apache.commons.logging.LogFactory;
* Here is what needs to go into the web.xml:
*
+ * {@code
JSession Strip Filteredu.cornell.mannlib.vitro.filters.JSessionStripFilter
@@ -32,7 +33,7 @@ import org.apache.commons.logging.LogFactory;
/*REQUEST
-
+ }
* some of this code is from URLRewriteFilter
*/
public class JSessionStripFilter implements Filter {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filters/VitroURL.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filters/VitroURL.java
index 575625e39..ba5b2d03f 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filters/VitroURL.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/filters/VitroURL.java
@@ -156,9 +156,8 @@ class VitroURL {
* This seems like a huge problem. We will only correctly handle odd things
* as a query parameter 'uri' in the last position.
*
- * @param queryStr
- * @return
- */
+ * @param queryStr Querst string
+ */
protected List parseQueryParams(String queryStr) {
List queryParamList = new ArrayList();
if (queryStr == null) {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/i18n/VitroResourceBundle.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/i18n/VitroResourceBundle.java
index 93a7131ca..5ac0cdb35 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/i18n/VitroResourceBundle.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/i18n/VitroResourceBundle.java
@@ -30,7 +30,7 @@ import org.apache.commons.logging.LogFactory;
* relative to the i18n directory. Again, a file in the theme will override one
* in the application.
*
- * If a property has a value (after overriding) of "@@file ", the
+ * If a property has a value (after overriding) of "@@file <filepath>", the
* bundle looks for the file relative to the i18n directory of the theme, then
* relative to the i18n directory of the application. If the file is not found
* in either location, a warning is written to the log and the property will
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/i18n/freemarker/I18nStringTemplateModel.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/i18n/freemarker/I18nStringTemplateModel.java
index e11ae6640..a93ad7ad1 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/i18n/freemarker/I18nStringTemplateModel.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/i18n/freemarker/I18nStringTemplateModel.java
@@ -20,11 +20,11 @@ import freemarker.template.utility.DeepUnwrap;
* implements TemplateMethodModel, you can pass arguments to it for formatting.
*
* So if the string is "His name is {0}!", then these references could be used:
- *
+ * {@code
* ${string} ==> "His name is {0}!"
*
* ${string("Bozo")} ==> "His name is Bozo!"
- *
+ * }
* Note that the format of the message is determined by java.text.MessageFormat,
* so argument indices start at 0 and you can escape a substring by wrapping it
* in apostrophes.
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/i18n/selection/LocaleSelectionController.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/i18n/selection/LocaleSelectionController.java
index 76bf70012..f57139fb3 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/i18n/selection/LocaleSelectionController.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/i18n/selection/LocaleSelectionController.java
@@ -21,10 +21,11 @@ import edu.cornell.mannlib.vitro.webapp.controller.freemarker.UrlBuilder;
import edu.cornell.mannlib.vitro.webapp.i18n.I18n;
/**
+ * {@code
* Call this at /selectLocale&selection=[locale_string]
*
* For example: /selectLocale&selection=en_US or /selectLocale&selection=es
- *
+ * }
* Write an error to the log (and to DisplayMessage) if the selection is not
* syntactically valid.
*
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/modules/fileStorage/FileStorage.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/modules/fileStorage/FileStorage.java
index 51f4d86ed..218104283 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/modules/fileStorage/FileStorage.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/modules/fileStorage/FileStorage.java
@@ -28,7 +28,7 @@ public interface FileStorage extends Application.Module {
* If a file exists with this ID, get its name.
*
* @return The name of the file (un-encoded) if it exists, or
- * null if it does not.
+ * {@code null} if it does not.
*/
String getFilename(String id) throws IOException;
@@ -47,7 +47,7 @@ public interface FileStorage extends Application.Module {
* If a file exists with this ID, it will be deleted, regardless of the file
* name. If no such file exists, no action is taken, no exception is thrown.
*
- * @return true if a file existed, false otherwise.
+ * @return {@code true} if a file existed, {@code false} otherwise.
*/
boolean deleteFile(String id) throws IOException;
}
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/modules/searchEngine/SearchResultDocumentList.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/modules/searchEngine/SearchResultDocumentList.java
index 83915339a..f5958e48b 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/modules/searchEngine/SearchResultDocumentList.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/modules/searchEngine/SearchResultDocumentList.java
@@ -22,7 +22,6 @@ public interface SearchResultDocumentList extends
* Retrieve the i'th document, starting with 0.
*
* @throws ArrayIndexOutOfBoundsException
- * if i < 0 or i >= size()
*/
SearchResultDocument get(int i);
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/modules/searchIndexer/SearchIndexer.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/modules/searchIndexer/SearchIndexer.java
index 5f7657379..fa40b384a 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/modules/searchIndexer/SearchIndexer.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/modules/searchIndexer/SearchIndexer.java
@@ -77,7 +77,7 @@ public interface SearchIndexer extends Application.Module {
* If called before startup or while paused, the task will be queued. If
* called after shutdown, this has no effect.
*
- * @param urls
+ * @param changes
* if null or empty, this call has no effect.
*/
void scheduleUpdatesForStatements(List changes);
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/ABoxUpdater.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/ABoxUpdater.java
index 00e854d83..c8d38c158 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/ABoxUpdater.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/ABoxUpdater.java
@@ -55,9 +55,7 @@ public class ABoxUpdater {
*
* Constructor
*
- * @param oldTboxModel - previous version of the ontology
- * @param newTboxModel - new version of the ontology
- * @param aboxModel - the knowledge base to be updated
+ * @param settings - Update settings
* @param logger - for writing to the change log
* and the error log.
* @param record - for writing to the additions model
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/AtomicOntologyChange.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/AtomicOntologyChange.java
index 4fbab936d..57bf420bb 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/AtomicOntologyChange.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/AtomicOntologyChange.java
@@ -40,7 +40,6 @@ public class AtomicOntologyChange {
* Contains the URI of a class or property in the previous version of
* the ontology, or null if a new class or property was introduced
* in the current version of the ontology.
- * @return
*/
public String getSourceURI() {
return this.sourceURI;
@@ -54,7 +53,6 @@ public class AtomicOntologyChange {
* Contains the URI of a class or property in the current version of
* the ontology, or null if a class or property was removed from the
* previous version of the ontology.
- * @return
*/
public String getDestinationURI() {
return this.destinationURI;
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/KnowledgeBaseUpdater.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/KnowledgeBaseUpdater.java
index c5d2995be..78545cf06 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/KnowledgeBaseUpdater.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/KnowledgeBaseUpdater.java
@@ -145,11 +145,10 @@ public class KnowledgeBaseUpdater {
* data, for changes that cannot be expressed as simple property
* or class additions, deletions, or renamings.
* Blank nodes created by the queries are given random URIs.
- * @param sparqlConstructDir
- * @param readModel
- * @param writeModel
- * @param add (add = true; retract = false)
- */
+ * @param sparqlConstructDir Sparql CONSTRUCT
+ * @param rdfService RDF Service to use
+ * @param add (add = true; retract = false)
+ */
private void performSparqlConstructs(String sparqlConstructDir,
RDFService rdfService,
boolean add) throws IOException {
@@ -362,7 +361,7 @@ public class KnowledgeBaseUpdater {
/**
* loads a SPARQL ASK query from a text file
- * @param filePath
+ * @param filePath Path of a file
* @return the query string or null if file not found
*/
public static String loadSparqlQuery(String filePath) throws IOException {
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/OntologyChangeParser.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/OntologyChangeParser.java
index 6a92b213c..fc3327762 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/OntologyChangeParser.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/OntologyChangeParser.java
@@ -34,7 +34,7 @@ public class OntologyChangeParser {
}
/**
- * @param args
+ * @param diffPath Diff path
* @throws IOException
*/
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/TBoxUpdater.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/TBoxUpdater.java
index 0d217ea7b..7585fc7eb 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/TBoxUpdater.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/ontology/update/TBoxUpdater.java
@@ -60,10 +60,8 @@ public class TBoxUpdater {
/**
*
* Constructor
- *
- * @param oldTboxAnnotationsModel - previous version of the annotations in the ontology
- * @param newTboxAnnotationsModel - new version of the annotations in the ontology
- * @param siteModel - the knowledge base to be updated
+ *
+ * @param settings - update settings
* @param logger - for writing to the change log
* and the error log.
* @param record - for writing to the additions model
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/rdfservice/ChangeSet.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/rdfservice/ChangeSet.java
index dc2481939..c4fa9b5f8 100644
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/rdfservice/ChangeSet.java
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/rdfservice/ChangeSet.java
@@ -33,8 +33,7 @@ public interface ChangeSet {
public void setPreconditionQueryType(RDFService.SPARQLQueryType queryType);
/**
- * @return List - list of model changes
- */
+ */
public List getModelChanges();
/**
@@ -104,16 +103,12 @@ public interface ChangeSet {
/**
* Returns a list of events to pass to any change listeners in
* advance of the change set additions and retractions being performed.
- *
- * @return List