Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPSCommon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
VIPSCommon
Commits
99f6516a
Commit
99f6516a
authored
10 years ago
by
Tor-Einar Skog
Browse files
Options
Downloads
Patches
Plain Diff
A bit of code cleanup
parent
0d4f01ae
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/no/bioforsk/vips/util/WeatherUtil.java
+3
-3
3 additions, 3 deletions
src/main/java/no/bioforsk/vips/util/WeatherUtil.java
with
3 additions
and
3 deletions
src/main/java/no/bioforsk/vips/util/WeatherUtil.java
+
3
−
3
View file @
99f6516a
...
...
@@ -55,7 +55,7 @@ public class WeatherUtil {
// Special case: List has less than 24 hourly values, return empty list
if
(
hourlyValues
.
size
()
<
24
)
{
return
new
ArrayList
<
WeatherObservation
>();
return
new
ArrayList
<>();
}
// Sort the list
Collections
.
sort
(
hourlyValues
);
...
...
@@ -488,7 +488,7 @@ public class WeatherUtil {
{
// TODO Validation
List
<
WeatherObservation
>
calculatedLeafWetnessSeries
=
new
ArrayList
<
WeatherObservation
>();
List
<
WeatherObservation
>
calculatedLeafWetnessSeries
=
new
ArrayList
<>();
Double
lastLatentHeatFlux
=
this
.
calculateLatentHeatFlux
(
temperature
.
get
(
0
).
getValue
(),
relativeHumidity
.
get
(
0
).
getValue
(),
...
...
@@ -605,7 +605,7 @@ public class WeatherUtil {
}
else
if
(
missingValues
>
0
)
{
List
<
WeatherObservation
>
calculatedValues
=
new
ArrayList
<
WeatherObservation
>();
List
<
WeatherObservation
>
calculatedValues
=
new
ArrayList
<>();
String
elementMeasurementTypeId
=
obsList
.
get
(
i
).
getElementMeasurementTypeId
();
String
fixingStrategy
=
this
.
getFixingStrategy
(
elementMeasurementTypeId
);
Date
lastTimestampBeforeHole
=
obsList
.
get
(
i
-
1
).
getTimeMeasured
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment