Skip to content

Commit

Permalink
purging Javadoc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonHD committed Dec 13, 2023
1 parent 55e2419 commit d92c910
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions javasrc/org/hd/d/TRVmodel/hg/HGTRVHPMModelByHour.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
public record HGTRVHPMModelByHour(HGTRVHPMModelParameterised.ModelParameters modelParameters, DDNTemperatureDataCSV temperatures)
{
/**Construct instance. */
public HGTRVHPMModelByHour
{
Objects.requireNonNull(modelParameters);
Expand All @@ -32,6 +33,7 @@ public record HGTRVHPMModelByHour(HGTRVHPMModelParameterised.ModelParameters mod
*/
public record ScenarioResult(double hoursFractionSetbackRaisesDemand, DemandWithoutAndWithSetback demand)
{
/**Construct instance. */
public ScenarioResult
{
if(!Double.isFinite(hoursFractionSetbackRaisesDemand)) { throw new IllegalArgumentException(); }
Expand Down
3 changes: 3 additions & 0 deletions javasrc/org/hd/d/TRVmodel/hg/HGTRVHPMModelParameterised.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public record ModelParameters(
double externalAirTemperatureC
)
{
/**Construct instance. */
public ModelParameters
{
// Sanity-check parameters.
Expand Down Expand Up @@ -116,6 +117,7 @@ public ModelParameters cloneWithAdjustedExternalTemperature(final double newExte
*/
public record HeatAndElectricityDemand(double heatDemand, double heatPumpElectricity)
{
/**Construct instance. */
public HeatAndElectricityDemand
{
// Sanity-check parameters.
Expand All @@ -129,6 +131,7 @@ public record HeatAndElectricityDemand(double heatDemand, double heatPumpElectri
/**Home heat and electricity demand with and without setback in B rooms; both non-null. */
public record DemandWithoutAndWithSetback(HeatAndElectricityDemand noSetback, HeatAndElectricityDemand withSetback)
{
/**Construct instance. */
public DemandWithoutAndWithSetback
{
Objects.requireNonNull(noSetback);
Expand Down

0 comments on commit d92c910

Please sign in to comment.