Skip to content

Commit

Permalink
handle 2139 complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
ndduc01 committed Oct 30, 2024
1 parent f6acb20 commit bad4963
Show file tree
Hide file tree
Showing 529 changed files with 1,058 additions and 1,058 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class ServiceApplication {
/**
* Main method for spring boot application.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class OdseCache {
public static Map<Object,Object> fromPrePopFormMapping = new TreeMap<Object, Object>();
public static Map<Object,Object> toPrePopFormMapping = new TreeMap<Object, Object>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class PropertyUtilCache {
public static ArrayList<Object> cachedHivList = new ArrayList<>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class SrteCache {
public static HashMap<String, String> loinCodeWithComponentNameMap = new HashMap<>();
public static HashMap<String, String> labResultByDescMap = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class CacheConfig {

@Bean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class KafkaConsumerConfig {
@Value("${spring.kafka.group-id}")
private String groupId = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class KafkaProducerConfig {
@Value("${spring.kafka.bootstrap-servers}")
private String bootstrapServers = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class NbsDataSourceConfig {
@Value("${spring.datasource.driverClassName}")
private String driverClassName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class OdseDataSourceConfig {
@Value("${spring.datasource.driverClassName}")
private String driverClassName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class SrteDataSourceConfig {
@Value("${spring.datasource.driverClassName}")
private String driverClassName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class CTConstants {

public static final String PROGRAM_AREA = "CON135";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class ComplexQueries {
public static final String DMB_QUESTION_OID_METADATA_SQL = "SELECT "
+ "NBS_UI_METADATA.nbs_question_uid, "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class DecisionSupportConstants {

//Basic Criteria constants
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class DpConstant {
private DpConstant(){

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class EdxPHCRConstants {

public static final String SUM_MSG_INVESTIGATION_FAIL = "Error creating investigation. See Activity Details.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class KafkaCustomHeader {
public static final String DATA_TYPE = "DATA_TYPE";
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class ManagerEvent {
public static final String EVENT_ELR = "ELR";
public static final String EVENT_ECR = "ECR";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class MessageConstants {
public static final String New="New";
public static final String Read="Read";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class NBSConstantUtil {

//Constants use in NBSContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class RenderConstant {
public static final String ACT_ID = "ACT_ID";
public static final String CONFIRMATION_METHOD = "CONFIRMATION_METHOD";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class DataTables {
public static final String ORGANIZATION_TABLE = "Organization";
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class ELRConstant {
public static final String PROGRAM_ASSIGN_1 = "PROGRAM_ASSIGN_1";
public static final String PROGRAM_ASSIGN_2 = "PROGRAM_ASSIGN_2";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class EdxELRConstant {
public static String PATIENT_LDF = "PAT";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class NBSBOLookup {
public static final String ASSOCIATEINTERVENTIONVACCINERECORDS = "ASSOCIATEINTERVENTIONVACCINERECORDS";
public static final String ORGANIZATION = "ORGANIZATION";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class NEDSSConstant {
public static final String STATE_STR = "state";
public static final String CT_SHARED_IND_CD = "CT_CONTACT.shared_ind_cd";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class ProgramAreaJurisdiction {
/**
* Constant for Shared = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class Controller {
@Autowired
public Controller( ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class DataProcessingConsumerException extends Exception{
private Object result;
public DataProcessingConsumerException(String message, Object result) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class DataProcessingException extends Exception{

public DataProcessingException(String message) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class EdxLogException extends Exception{
private final Object result;
public EdxLogException(String message, Object result) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
6541 - brain method complaint
2139 - exception rethrow complain
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541"})
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809", "java:S6541", "java:S2139"})
public class KafkaEdxLogConsumer {
private static final Logger logger = LoggerFactory.getLogger(KafkaEdxLogConsumer.class); //NOSONAR
private final IEdxLogService edxLogService;
Expand Down
Loading

0 comments on commit bad4963

Please sign in to comment.