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 17, 2024
1 parent d800dfb commit 9260519
Show file tree
Hide file tree
Showing 652 changed files with 1,923 additions and 6,851 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@

import org.apache.commons.lang3.StringUtils;

import com.prowidesoftware.swift.model.field.SwiftParseUtils;
import com.prowidesoftware.swift.model.field.Field;
import com.prowidesoftware.swift.model.*;
import com.prowidesoftware.swift.utils.SwiftFormatUtils;

Expand Down Expand Up @@ -204,7 +202,7 @@ public String getValue() {
*/
@Override
public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
if (component != 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 101");
}
//default format (as is)
Expand All @@ -223,7 +221,7 @@ public String componentsPattern() {

/**
* Returns the field component types pattern.
*
* <p>
* This method returns a letter representing the type for each component in the Field. It supersedes
* the Components Pattern because it distinguishes between N (Number) and I (BigDecimal).
* @since 9.2.7
Expand Down Expand Up @@ -426,7 +424,7 @@ public static List<Field101> getAll(final SwiftTagListBlock block) {
return result;
}
final Tag[] arr = block.getTagsByName(NAME);
if (arr != null && arr.length > 0) {
if (arr != null) {
for (final Tag f : arr) {
result.add(new Field101(f));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@

import org.apache.commons.lang3.StringUtils;

import com.prowidesoftware.swift.model.field.SwiftParseUtils;
import com.prowidesoftware.swift.model.field.Field;
import com.prowidesoftware.swift.model.*;
import com.prowidesoftware.swift.utils.SwiftFormatUtils;

Expand Down Expand Up @@ -205,7 +203,7 @@ public String getValue() {
*/
@Override
public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
if (component != 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 102");
}
//default format (as is)
Expand All @@ -224,7 +222,7 @@ public String componentsPattern() {

/**
* Returns the field component types pattern.
*
* <p>
* This method returns a letter representing the type for each component in the Field. It supersedes
* the Components Pattern because it distinguishes between N (Number) and I (BigDecimal).
* @since 9.2.7
Expand Down Expand Up @@ -467,7 +465,7 @@ public static List<Field102> getAll(final SwiftTagListBlock block) {
return result;
}
final Tag[] arr = block.getTagsByName(NAME);
if (arr != null && arr.length > 0) {
if (arr != null) {
for (final Tag f : arr) {
result.add(new Field102(f));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@

import org.apache.commons.lang3.StringUtils;

import com.prowidesoftware.swift.model.field.SwiftParseUtils;
import com.prowidesoftware.swift.model.field.Field;
import com.prowidesoftware.swift.model.*;
import com.prowidesoftware.swift.utils.SwiftFormatUtils;

Expand Down Expand Up @@ -204,7 +202,7 @@ public String getValue() {
*/
@Override
public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
if (component != 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 103");
}
//default format (as is)
Expand All @@ -223,7 +221,7 @@ public String componentsPattern() {

/**
* Returns the field component types pattern.
*
* <p>
* This method returns a letter representing the type for each component in the Field. It supersedes
* the Components Pattern because it distinguishes between N (Number) and I (BigDecimal).
* @since 9.2.7
Expand Down Expand Up @@ -426,7 +424,7 @@ public static List<Field103> getAll(final SwiftTagListBlock block) {
return result;
}
final Tag[] arr = block.getTagsByName(NAME);
if (arr != null && arr.length > 0) {
if (arr != null) {
for (final Tag f : arr) {
result.add(new Field103(f));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@

import org.apache.commons.lang3.StringUtils;

import com.prowidesoftware.swift.model.field.SwiftParseUtils;
import com.prowidesoftware.swift.model.field.Field;
import com.prowidesoftware.swift.model.*;
import com.prowidesoftware.swift.utils.SwiftFormatUtils;

Expand Down Expand Up @@ -204,7 +202,7 @@ public String getValue() {
*/
@Override
public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
if (component != 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 104");
}
//default format (as is)
Expand All @@ -223,7 +221,7 @@ public String componentsPattern() {

/**
* Returns the field component types pattern.
*
* <p>
* This method returns a letter representing the type for each component in the Field. It supersedes
* the Components Pattern because it distinguishes between N (Number) and I (BigDecimal).
* @since 9.2.7
Expand Down Expand Up @@ -426,7 +424,7 @@ public static List<Field104> getAll(final SwiftTagListBlock block) {
return result;
}
final Tag[] arr = block.getTagsByName(NAME);
if (arr != null && arr.length > 0) {
if (arr != null) {
for (final Tag f : arr) {
result.add(new Field104(f));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@

import org.apache.commons.lang3.StringUtils;

import com.prowidesoftware.swift.model.field.SwiftParseUtils;
import com.prowidesoftware.swift.model.field.Field;
import com.prowidesoftware.swift.model.*;
import com.prowidesoftware.swift.utils.SwiftFormatUtils;

Expand Down Expand Up @@ -206,7 +204,7 @@ public String getValue() {
*/
@Override
public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
if (component != 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 105");
}
//default format (as is)
Expand All @@ -225,7 +223,7 @@ public String componentsPattern() {

/**
* Returns the field component types pattern.
*
* <p>
* This method returns a letter representing the type for each component in the Field. It supersedes
* the Components Pattern because it distinguishes between N (Number) and I (BigDecimal).
* @since 9.2.7
Expand Down Expand Up @@ -411,7 +409,7 @@ public Field105 setComponent1(java.lang.Long component1) {

/**
* Alternative method setter for field's Delivery Monitoring (component 1) as Number
*
* <p>
* This method supports java constant value boxing for simpler coding styles (ex: 10 becomes an Integer)
*
* @param component1 the Number with the Delivery Monitoring content to set
Expand Down Expand Up @@ -461,7 +459,7 @@ public Field105 setDeliveryMonitoring(java.lang.Long component1) {

/**
* Alternative method setter for field's Delivery Monitoring (component 1) as Number
*
* <p>
* This method supports java constant value boxing for simpler coding styles (ex: 10 becomes an Integer)
*
* @param component1 the Number with the Delivery Monitoring content to set
Expand Down Expand Up @@ -537,7 +535,7 @@ public static List<Field105> getAll(final SwiftTagListBlock block) {
return result;
}
final Tag[] arr = block.getTagsByName(NAME);
if (arr != null && arr.length > 0) {
if (arr != null) {
for (final Tag f : arr) {
result.add(new Field105(f));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@

import org.apache.commons.lang3.StringUtils;

import com.prowidesoftware.swift.model.field.SwiftParseUtils;
import com.prowidesoftware.swift.model.field.Field;
import com.prowidesoftware.swift.model.*;
import com.prowidesoftware.swift.utils.SwiftFormatUtils;

Expand Down Expand Up @@ -204,7 +202,7 @@ public String getValue() {
*/
@Override
public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
if (component != 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 106");
}
//default format (as is)
Expand All @@ -223,7 +221,7 @@ public String componentsPattern() {

/**
* Returns the field component types pattern.
*
* <p>
* This method returns a letter representing the type for each component in the Field. It supersedes
* the Components Pattern because it distinguishes between N (Number) and I (BigDecimal).
* @since 9.2.7
Expand Down Expand Up @@ -426,7 +424,7 @@ public static List<Field106> getAll(final SwiftTagListBlock block) {
return result;
}
final Tag[] arr = block.getTagsByName(NAME);
if (arr != null && arr.length > 0) {
if (arr != null) {
for (final Tag f : arr) {
result.add(new Field106(f));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@

import org.apache.commons.lang3.StringUtils;

import com.prowidesoftware.swift.model.field.SwiftParseUtils;
import com.prowidesoftware.swift.model.field.Field;
import com.prowidesoftware.swift.model.*;
import com.prowidesoftware.swift.utils.SwiftFormatUtils;

Expand Down Expand Up @@ -204,7 +202,7 @@ public String getValue() {
*/
@Override
public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
if (component != 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 107");
}
//default format (as is)
Expand All @@ -223,7 +221,7 @@ public String componentsPattern() {

/**
* Returns the field component types pattern.
*
* <p>
* This method returns a letter representing the type for each component in the Field. It supersedes
* the Components Pattern because it distinguishes between N (Number) and I (BigDecimal).
* @since 9.2.7
Expand Down Expand Up @@ -426,7 +424,7 @@ public static List<Field107> getAll(final SwiftTagListBlock block) {
return result;
}
final Tag[] arr = block.getTagsByName(NAME);
if (arr != null && arr.length > 0) {
if (arr != null) {
for (final Tag f : arr) {
result.add(new Field107(f));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@

import org.apache.commons.lang3.StringUtils;

import com.prowidesoftware.swift.model.field.SwiftParseUtils;
import com.prowidesoftware.swift.model.field.Field;
import com.prowidesoftware.swift.model.*;
import com.prowidesoftware.swift.utils.SwiftFormatUtils;

Expand Down Expand Up @@ -204,7 +202,7 @@ public String getValue() {
*/
@Override
public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
if (component != 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 108");
}
//default format (as is)
Expand All @@ -223,7 +221,7 @@ public String componentsPattern() {

/**
* Returns the field component types pattern.
*
* <p>
* This method returns a letter representing the type for each component in the Field. It supersedes
* the Components Pattern because it distinguishes between N (Number) and I (BigDecimal).
* @since 9.2.7
Expand Down Expand Up @@ -426,7 +424,7 @@ public static List<Field108> getAll(final SwiftTagListBlock block) {
return result;
}
final Tag[] arr = block.getTagsByName(NAME);
if (arr != null && arr.length > 0) {
if (arr != null) {
for (final Tag f : arr) {
result.add(new Field108(f));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@

import org.apache.commons.lang3.StringUtils;

import com.prowidesoftware.swift.model.field.SwiftParseUtils;
import com.prowidesoftware.swift.model.field.Field;
import com.prowidesoftware.swift.model.*;
import com.prowidesoftware.swift.utils.SwiftFormatUtils;

Expand Down Expand Up @@ -265,7 +263,7 @@ public String componentsPattern() {

/**
* Returns the field component types pattern.
*
* <p>
* This method returns a letter representing the type for each component in the Field. It supersedes
* the Components Pattern because it distinguishes between N (Number) and I (BigDecimal).
* @since 9.2.7
Expand Down Expand Up @@ -647,7 +645,7 @@ public static List<Field109> getAll(final SwiftTagListBlock block) {
return result;
}
final Tag[] arr = block.getTagsByName(NAME);
if (arr != null && arr.length > 0) {
if (arr != null) {
for (final Tag f : arr) {
result.add(new Field109(f));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@

import org.apache.commons.lang3.StringUtils;

import com.prowidesoftware.swift.model.field.SwiftParseUtils;
import com.prowidesoftware.swift.model.field.Field;
import com.prowidesoftware.swift.model.*;
import com.prowidesoftware.swift.utils.SwiftFormatUtils;

Expand Down Expand Up @@ -206,7 +204,7 @@ public String getValue() {
*/
@Override
public String getValueDisplay(int component, Locale locale) {
if (component < 1 || component > 1) {
if (component != 1) {
throw new IllegalArgumentException("invalid component number " + component + " for field 110");
}
//default format (as is)
Expand All @@ -225,7 +223,7 @@ public String componentsPattern() {

/**
* Returns the field component types pattern.
*
* <p>
* This method returns a letter representing the type for each component in the Field. It supersedes
* the Components Pattern because it distinguishes between N (Number) and I (BigDecimal).
* @since 9.2.7
Expand Down Expand Up @@ -411,7 +409,7 @@ public Field110 setComponent1(java.lang.Long component1) {

/**
* Alternative method setter for field's Window Size (component 1) as Number
*
* <p>
* This method supports java constant value boxing for simpler coding styles (ex: 10 becomes an Integer)
*
* @param component1 the Number with the Window Size content to set
Expand Down Expand Up @@ -461,7 +459,7 @@ public Field110 setWindowSize(java.lang.Long component1) {

/**
* Alternative method setter for field's Window Size (component 1) as Number
*
* <p>
* This method supports java constant value boxing for simpler coding styles (ex: 10 becomes an Integer)
*
* @param component1 the Number with the Window Size content to set
Expand Down Expand Up @@ -537,7 +535,7 @@ public static List<Field110> getAll(final SwiftTagListBlock block) {
return result;
}
final Tag[] arr = block.getTagsByName(NAME);
if (arr != null && arr.length > 0) {
if (arr != null) {
for (final Tag f : arr) {
result.add(new Field110(f));
}
Expand Down
Loading

0 comments on commit 9260519

Please sign in to comment.