Skip to content

Commit

Permalink
refact: added missing serialversionuid (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
asmfstatoil authored Apr 25, 2023
1 parent 08b6d36 commit 792f172
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* @version $Id: $Id
*/
public class SevereSlugAnalyser extends MeasurementDeviceBaseClass {
private static final long serialVersionUID = 1L;
static Logger logger = LogManager.getLogger(SevereSlugAnalyser.class);

FluidSevereSlug fluidSevereS;
Expand Down Expand Up @@ -643,6 +644,7 @@ public String checkFlowRegime(FluidSevereSlug fluid, Pipe pipe, SevereSlugAnalys
*
* @return a double
*/
@Override
public double getMeasuredValue() {
SystemInterface fluid = streamS.getThermoSystem();
ThermodynamicOperations ops = new ThermodynamicOperations(fluid);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* @version $Id: $Id
*/
public class VirtualStream extends ProcessEquipmentBaseClass {
private static final long serialVersionUID = 1L;
static Logger logger = LogManager.getLogger(VirtualStream.class);

protected StreamInterface refStream = null;
Expand All @@ -32,7 +33,9 @@ public class VirtualStream extends ProcessEquipmentBaseClass {
protected boolean setComposition = false;

/**
* <p>Constructor for VirtualStream.</p>
* <p>
* Constructor for VirtualStream.
* </p>
*
* @param name a {@link java.lang.String} object
* @param stream a {@link neqsim.processSimulation.processEquipment.stream.StreamInterface} object
Expand All @@ -43,7 +46,9 @@ public VirtualStream(String name, StreamInterface stream) {
}

/**
* <p>Constructor for VirtualStream.</p>
* <p>
* Constructor for VirtualStream.
* </p>
*
* @param name a {@link java.lang.String} object
*/
Expand All @@ -52,7 +57,9 @@ public VirtualStream(String name) {
}

/**
* <p>setReferenceStream.</p>
* <p>
* setReferenceStream.
* </p>
*
* @param stream a {@link neqsim.processSimulation.processEquipment.stream.StreamInterface} object
*/
Expand All @@ -61,7 +68,9 @@ public void setReferenceStream(StreamInterface stream) {
}

/**
* <p>Setter for the field <code>flowRate</code>.</p>
* <p>
* Setter for the field <code>flowRate</code>.
* </p>
*
* @param rate a double
* @param unit a {@link java.lang.String} object
Expand All @@ -73,7 +82,9 @@ public void setFlowRate(double rate, String unit) {
}

/**
* <p>Setter for the field <code>composition</code>.</p>
* <p>
* Setter for the field <code>composition</code>.
* </p>
*
* @param comps an array of {@link double} objects
* @param unit a {@link java.lang.String} object
Expand All @@ -85,7 +96,9 @@ public void setComposition(double[] comps, String unit) {
}

/**
* <p>Setter for the field <code>temperature</code>.</p>
* <p>
* Setter for the field <code>temperature</code>.
* </p>
*
* @param temp a double
* @param unit a {@link java.lang.String} object
Expand All @@ -97,7 +110,9 @@ public void setTemperature(double temp, String unit) {
}

/**
* <p>Setter for the field <code>pressure</code>.</p>
* <p>
* Setter for the field <code>pressure</code>.
* </p>
*
* @param pres a double
* @param unit a {@link java.lang.String} object
Expand Down Expand Up @@ -129,7 +144,9 @@ public void run(UUID id) {
}

/**
* <p>Getter for the field <code>outStream</code>.</p>
* <p>
* Getter for the field <code>outStream</code>.
* </p>
*
* @return a {@link neqsim.processSimulation.processEquipment.stream.StreamInterface} object
*/
Expand Down

0 comments on commit 792f172

Please sign in to comment.