You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project has 4 different naming conventions for the same object types. Even if the number of naming conventions is not reduced, static variables should be used across the project. (It would help to cut it to 2 or at least 3 naming conventions)
It is easy to make programming errors when comparing objects types across postgres, solr results, etc.
Postgres dtype (db value and DvObject.java)
Solr Index Names (SearchConstants.java)
Search API (SearchConstants.java)
Web UI as facets (SearchConstants.java)
Dataverse
dataverses
dataverse
Dataverses
Dataset
datasets
dataset
Datasets
DataFile
files
file
Files
Note: In addition, the static variables for the strings above are not always used. Ther are many instances of simply using strings.
This is a side effect of the 'rapid development' in the winter
The project has 4 different naming conventions for the same object types. Even if the number of naming conventions is not reduced, static variables should be used across the project. (It would help to cut it to 2 or at least 3 naming conventions)
It is easy to make programming errors when comparing objects types across postgres, solr results, etc.
Note: In addition, the static variables for the strings above are not always used. Ther are many instances of simply using strings.
This is a side effect of the 'rapid development' in the winter
Some examples of using strings
Dataverses.java
Index.java
DataTagsAPI.java
IndexServiceBean.java
SearchServiceBean.java
(etc, etc, etc)
The text was updated successfully, but these errors were encountered: