Skip to content

Commit

Permalink
CU-86b14j4e0_check-code-security-reports-at-GitHub-for-all-repos
Browse files Browse the repository at this point in the history
  • Loading branch information
ptorres-prowide committed Sep 13, 2024
1 parent 4ed9e60 commit 3e2dead
Show file tree
Hide file tree
Showing 432 changed files with 2,131 additions and 1,369 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ dependencies {
compileOnly 'javax.xml.bind:jaxb-api:2.3.1'
compileOnly 'javax.validation:validation-api:2.0.1.Final'

testImplementation 'javax.validation:validation-api:2.0.1.Final'
testImplementation 'javax.persistence:javax.persistence-api:2.2'
testImplementation('org.junit.jupiter:junit-jupiter:5.8.2')
testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.22.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 101");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 102");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 103");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 104");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 105");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 106");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 107");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 108");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ public Field109 setMIR(String component3) {
*
* @return the list of converted components (a Calendar object or null)
*/
@Override
public List<Calendar> dates() {
return DateResolver.dates(this);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 110");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 111");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 113");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 114");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 115");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 116");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 117");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 118");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 119");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -526,10 +526,12 @@ public String currencyString() {
return CurrencyResolver.resolveCurrencyString(this);
}

@Override
public void initializeCurrencies(String cur) {
CurrencyResolver.resolveSetCurrency(this, cur);
}

@Override
public void initializeCurrencies(Currency cur) {
CurrencyResolver.resolveSetCurrency(this, cur);
}
Expand All @@ -541,6 +543,7 @@ public void initializeCurrencies(Currency cur) {
*
* @return DSS component value or null if the DSS is not set or not available for this field.
*/
@Override
public String getDSS() {
return null;
}
Expand All @@ -551,6 +554,7 @@ public String getDSS() {
* @see #getDSS()
* @return true if DSS is present, false otherwise.
*/
@Override
public boolean isDSSPresent() {
return false;
}
Expand All @@ -565,6 +569,7 @@ public boolean isDSSPresent() {
*
* @return for generic fields returns the value of the conditional qualifier or null if not set or not applicable for this field.
*/
@Override
public String getConditionalQualifier() {
return getComponent(CONDITIONAL_QUALIFIER);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ public Field11R setISN(java.lang.Number component4) {
*
* @return the list of converted components (a Calendar object or null)
*/
@Override
public List<Calendar> dates() {
return DateResolver.dates(this);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ public Field11S setISN(java.lang.Number component4) {
*
* @return the list of converted components (a Calendar object or null)
*/
@Override
public List<Calendar> dates() {
return DateResolver.dates(this);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 12");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 120");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 121");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 122");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 123");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,8 @@ public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 124");
}
if (component == 1) {
//default format (as is)
return getComponent(1);
}
return null;
//default format (as is)
return getComponent(1);
}

/**
Expand Down
Loading

0 comments on commit 3e2dead

Please sign in to comment.