This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See https://gitlab.nuiton.org/codelutin/tutti.git commit e2b2a0e144dec038a2509a2959fd037a5da6831e Author: Tony CHEMIT <chemit@codelutin.com> Date: Fri Apr 22 10:46:58 2016 +0200 Clean code --- .../species/frequency/SpeciesFrequencyUIModel.java | 28 ---------------------- 1 file changed, 28 deletions(-) diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/species/frequency/SpeciesFrequencyUIModel.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/species/frequency/SpeciesFrequencyUIModel.java index 973fa0b..8cbd151 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/species/frequency/SpeciesFrequencyUIModel.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/species/frequency/SpeciesFrequencyUIModel.java @@ -259,23 +259,11 @@ public class SpeciesFrequencyUIModel extends AbstractTuttiTableUIModel<SpeciesBa */ private CopyIndividualObservationMode copyIndividualObservationMode; -// private boolean rowComputationInProgress; - /** * Is the model is loading? */ private boolean initBatchEdition; - /** - * Can smapling notifications or summary be displayed? - */ - private boolean canDisplayNotifications; - -// /** -// * A row is being created in rafale. Do not remove the sampling warning in this state. -// */ -// private boolean inRafaleRowCreation; - private final AverageWeightsHistogramModel averageWeightsHistogramModel; private final FrequenciesHistogramModel frequenciesHistogramModel; private final IndividualObservationBatchUIModel individualObservationModel; @@ -299,12 +287,6 @@ public class SpeciesFrequencyUIModel extends AbstractTuttiTableUIModel<SpeciesBa setEmptyRows(new HashSet<>()); this.individualObservationModel = new IndividualObservationBatchUIModel(sexCaracteristic, individualObservationWeightUnit, defaultCaracteristic); - -// JavaBeanObjectPropagateChangeListener.listenAndPropagate(individualObservationModel, -// this, -// IndividualObservationBatchUIModel.PROPERTY_NON_EMPTY_ROWS_IN_ERROR, -// "nonEmptyIndividualObservationRowsInError"); - this.averageWeightsHistogramModel = new AverageWeightsHistogramModel(weightUnit); this.frequenciesHistogramModel = new FrequenciesHistogramModel(); } @@ -648,7 +630,6 @@ public class SpeciesFrequencyUIModel extends AbstractTuttiTableUIModel<SpeciesBa firePropertyChange(PROPERTY_COPY_INDIVIDUAL_OBSERVATION_SIZE, oldValue == CopyIndividualObservationMode.SIZE, copyIndividualObservationMode == CopyIndividualObservationMode.SIZE); -// fireVetoableChange(PROPERTY_COPY_INDIVIDUAL_OBSERVATION_MODE, oldValue, copyIndividualObservationMode); firePropertyChange(PROPERTY_COPY_INDIVIDUAL_OBSERVATION_MODE, oldValue, copyIndividualObservationMode); } catch (PropertyVetoException e) { @@ -656,15 +637,6 @@ public class SpeciesFrequencyUIModel extends AbstractTuttiTableUIModel<SpeciesBa log.error("error in setting copyIndividualObservationMode", e); } this.copyIndividualObservationMode = oldValue; -// firePropertyChange(PROPERTY_COPY_INDIVIDUAL_OBSERVATION_ALL, -// copyIndividualObservationMode == CopyIndividualObservationMode.ALL, -// oldValue == CopyIndividualObservationMode.ALL); -// firePropertyChange(PROPERTY_COPY_INDIVIDUAL_OBSERVATION_NOTHING, -// copyIndividualObservationMode == CopyIndividualObservationMode.NOTHING, -// oldValue == CopyIndividualObservationMode.NOTHING); -// firePropertyChange(PROPERTY_COPY_INDIVIDUAL_OBSERVATION_SIZE, -// copyIndividualObservationMode == CopyIndividualObservationMode.SIZE, -// oldValue == CopyIndividualObservationMode.SIZE); } } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.