Showing 6,856 of 14,752 total issues
Method joinModels
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Model joinModels(JsonNode modelA, JsonNode modelB, ModelClass targetModelType) throws JsonProcessingException {
String modelAType = modelA.get("modelType").textValue();
Map<String, Object> modelAClass = ModelClass.valueOf(modelAType).swaggerDefinition;
- Create a ticketCreate a ticket
Method retrieveBackground
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public GenericModelDataBackground retrieveBackground(Sheet sheet) {
final GenericModelDataBackground background = new GenericModelDataBackground();
try {
- Create a ticketCreate a ticket
Method retrieveBackground
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public GenericModelDataBackground retrieveBackground(Sheet sheet) {
final GenericModelDataBackground background = new GenericModelDataBackground();
try {
final Study study = retrieveStudy(sheet);
- Create a ticketCreate a ticket
Method retrieveBackground
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public GenericModelDataBackground retrieveBackground(Sheet sheet) {
GenericModelDataBackground background = new GenericModelDataBackground();
try {
- Create a ticketCreate a ticket
Method retrieveBackground
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public GenericModelDataBackground retrieveBackground(Sheet sheet) {
final GenericModelDataBackground background = new GenericModelDataBackground();
try {
- Create a ticketCreate a ticket
Method retrieveBackground
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public GenericModelDataBackground retrieveBackground(Sheet sheet) {
GenericModelDataBackground background = new GenericModelDataBackground();
try {
Study study = retrieveStudy(sheet);
- Create a ticketCreate a ticket
Method eIsSet
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case MetadataPackage.STUDY__STUDY_IDENTIFIER:
return STUDY_IDENTIFIER_EDEFAULT == null ? studyIdentifier != null : !STUDY_IDENTIFIER_EDEFAULT.equals(studyIdentifier);
- Create a ticketCreate a ticket
Method eGet
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case MetadataPackage.STUDY__STUDY_IDENTIFIER:
return getStudyIdentifier();
- Create a ticketCreate a ticket
Method saveSettingsTo
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void saveSettingsTo(NodeSettingsWO settings)
throws InvalidSettingsException {
if (!selectionPanel.getSelectedIDs().isEmpty()) {
set.setSelectedID(selectionPanel.getSelectedIDs().get(0));
- Create a ticketCreate a ticket
Method getInSchema
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private KnimeSchema getInSchema(final DataTableSpec inSpec) throws InvalidSettingsException {
KnimeSchema result = null;
KnimeSchema inSchema = new TimeSeriesSchema();
boolean hasTS = false;
try {
- Create a ticketCreate a ticket
Method execute
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected BufferedDataTable[] execute(final BufferedDataTable[] inData,
final ExecutionContext exec) {
BufferedDataContainer container = exec.createDataContainer(TABLE_SPEC);
- Create a ticketCreate a ticket
Method loadSettingsFrom
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void loadSettingsFrom(NodeSettingsRO settings, DataTableSpec[] specs) throws NotConfigurableException {
String fileName;
int useStartValue;
double startElim;
- Create a ticketCreate a ticket
Method replaceCelsiusAndFahrenheit
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void replaceCelsiusAndFahrenheit(KnimeTuple tuple) {
final String CELSIUS = "°C";
final String FAHRENHEIT = "°F";
final String KELVIN = "K";
- Create a ticketCreate a ticket
Method saveSettingsTo
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void saveSettingsTo( final NodeSettingsWO settings ) {
try {
/*
Config c = settings.addConfig("DbConfigurationUi");
- Create a ticketCreate a ticket
Method handleSuchfeldChange
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
void handleSuchfeldChange(final KeyEvent e, final boolean doFilter) {
if (!filterChangeAllowed) return;
if (isFormVisible()) {
return;
}
- Create a ticketCreate a ticket
Method myRefresh
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void myRefresh(final int row, final int col) {
JScrollPane scroller = getScroller();
int scrollVal = (scroller == null) ? -1 : scroller.getVerticalScrollBar().getValue();
int hscrollVal = (scroller == null) ? -1 : scroller.getHorizontalScrollBar().getValue();
// System.err.println(row+" - "+getSelectedID());
- Create a ticketCreate a ticket
Method setSettings
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setSettings(Config c, Integer defAgent, Integer defMatrix, Double defTemp, Double defPh, Double defAw, Double agentConc, Callable<Void> refresher) throws InvalidSettingsException {
this.defTemp = defTemp;
this.defPh = defPh;
this.defAw = defAw;
this.agentConc = agentConc;
- Create a ticketCreate a ticket
Method createUI
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createUI() {
// Build simulations panel
setLayout(new BorderLayout());
setName("Simulations");
- Create a ticketCreate a ticket
Method loadSettingsFrom
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void loadSettingsFrom(NodeSettingsRO settings, PortObject[] input)
throws NotConfigurableException {
final FSKEditorJSNodeSettings editorSettings = new FSKEditorJSNodeSettings();
- Create a ticketCreate a ticket
Method createUI
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createUI() {
// Build simulations panel
setLayout(new BorderLayout());
setName("Simulations");
- Create a ticketCreate a ticket