Showing 6,856 of 14,752 total issues
Method eIsSet
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case MetadataPackage.REFERENCE__IS_REFERENCE_DESCRIPTION:
return isReferenceDescription != IS_REFERENCE_DESCRIPTION_EDEFAULT;
- Create a ticketCreate a ticket
Method eGet
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case MetadataPackage.HAZARD__HAZARD_TYPE:
return getHazardType();
- Create a ticketCreate a ticket
Method eIsSet
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case MetadataPackage.CONTACT__TITLE:
return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
- Create a ticketCreate a ticket
Method eGet
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case MetadataPackage.REFERENCE__IS_REFERENCE_DESCRIPTION:
return isIsReferenceDescription();
- Create a ticketCreate a ticket
Method eGet
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case MetadataPackage.CONTACT__TITLE:
return getTitle();
- Create a ticketCreate a ticket
Method eIsSet
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case MetadataPackage.HAZARD__HAZARD_TYPE:
return HAZARD_TYPE_EDEFAULT == null ? hazardType != null : !HAZARD_TYPE_EDEFAULT.equals(hazardType);
- Create a ticketCreate a ticket
Method doOneStepEstimation
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private BufferedDataTable doOneStepEstimation(BufferedDataTable table,
ExecutionContext exec) throws CanceledExecutionException,
InterruptedException {
BufferedDataContainer container = exec.createDataContainer(outSchema
.createSpec());
- Create a ticketCreate a ticket
Method passesFilter
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static boolean passesFilter(
final int level,
final int qualityMode,
final double qualityThresh,
final String matrixString,
- Create a ticketCreate a ticket
Method setSelectedID
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setSelectedID(int id) {
if (myModel != null) {
try {
int codeSystemNum = -1;
if (this.getSelectionCount() > 0) {
- Create a ticketCreate a ticket
Method getStrVal
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private String getStrVal(HSSFCell cell, int maxChars) {
String result = null;
try {
if (cell == null || cell.getCellType() == HSSFCell.CELL_TYPE_BLANK) {
} else if (cell.getCellType() == HSSFCell.CELL_TYPE_STRING) {
- Create a ticketCreate a ticket
Method createNodeModel
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public NodeModel createNodeModel() {
PortType[] inputTypes = {};
PortType[] outputTypes = { BufferedDataTable.TYPE };
- Create a ticketCreate a ticket
Method retrieveStudy
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Study retrieveStudy(String[][] values) {
int columnI = RakipColumn.I.ordinal();
// Check mandatory properties
- Create a ticketCreate a ticket
Method saveSettingsTo
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void saveSettingsTo(NodeSettingsWO settings) throws InvalidSettingsException {
// Save modified scripts to settings
this.settings.modifiedModelScript = modelScriptPanel.getText();
this.settings.modifiedParametersScript = paramScriptPanel.getText();
- Create a ticketCreate a ticket
Method loadSettings
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void loadSettings(final NodeSettingsRO settings) {
originalModelScript = settings.getString("originalModelScript", "");
originalParametersScript = settings.getString("originalParametersScript", "");
originalVisualizationScript = settings.getString("originalVisualizationScript", "");
- Create a ticketCreate a ticket
Method retrieveStudy
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Study retrieveStudy(String[][] values) {
int columnI = RakipColumn.I.ordinal();
// Check mandatory properties
- Create a ticketCreate a ticket
Method retrieveStudy
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Study retrieveStudy(String[][] values) {
int columnI = RakipColumn.I.ordinal();
// Check mandatory properties
- Create a ticketCreate a ticket
Method adaptRelationNames
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void adaptRelationNames(CombinedFskPortObject portObject, String suffix, int suffixInsertionIndex,
Map<String, String> old_new_pramsMap) {
Map<String, String> mapInversed = old_new_pramsMap.entrySet().stream()
.collect(Collectors.toMap(Map.Entry::getValue, Map.Entry::getKey,
// choose the second value in the case of key duplication
- Create a ticketCreate a ticket
Method validateSettings
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void validateSettings(final NodeSettingsRO settings) throws InvalidSettingsException {
m_repositoryLocationSettings.validateSettings(settings);
m_maxSelectionNumberSettings.validateSettings(settings);
if (settings.containsKey(KEY_SHOW_DOWNLOAD_BUTTON)) {
- Create a ticketCreate a ticket
Method plotDataSet
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void plotDataSet(XYPlot plot, Plotable plotable, String id,
Color defaultColor, Shape defaultShape) throws ConvertException {
double[][] points = plotable.getPoints(paramX, paramY, unitX, unitY,
transformX, transformY);
String legend = shortLegend.get(id);
- Create a ticketCreate a ticket
Method testLoadEmptySettings
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testLoadEmptySettings() {
NodeSettings settings = new NodeSettings("identifier");
SettingsHelper helper = new SettingsHelper();
helper.loadSettings(settings);
- Create a ticketCreate a ticket