Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Orekit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Gaëtan Pierre
Orekit
Commits
624f1612
Commit
624f1612
authored
4 years ago
by
Bryan Cazabonne
Browse files
Options
Downloads
Patches
Plain Diff
Fixed Sonar warnings.
parent
a754bfcc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
spotbugs-exclude-filter.xml
+1
-0
1 addition, 0 deletions
spotbugs-exclude-filter.xml
src/main/java/org/orekit/models/earth/atmosphere/data/CssiSpaceWeatherDataLoader.java
+5
-5
5 additions, 5 deletions
...els/earth/atmosphere/data/CssiSpaceWeatherDataLoader.java
with
6 additions
and
5 deletions
spotbugs-exclude-filter.xml
+
1
−
0
View file @
624f1612
...
...
@@ -27,6 +27,7 @@
<Class
name=
"~.*\.Ephemeris$"
/>
<Class
name=
"~.*\.GlobalIonosphereMapModel$"
/>
<Class
name=
"~.*\.MarshallSolarActivityFutureEstimation$"
/>
<Class
name=
"~.*\.CssiSpaceWeatherData$"
/>
<Class
name=
"~.*\.IntegratedEphemeris$"
/>
<Class
name=
"~.*\.DSSTPropagator\$MeanPlusShortPeriodicMapper$"
/>
<Class
name=
"~.*\.NumericalPropagator\$OsculatingMapper$"
/>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/org/orekit/models/earth/atmosphere/data/CssiSpaceWeatherDataLoader.java
+
5
−
5
View file @
624f1612
...
...
@@ -55,7 +55,7 @@ import org.orekit.time.TimeStamped;
public
class
CssiSpaceWeatherDataLoader
implements
DataLoader
{
/** Helper class to parse line data and to raise exceptions if needed. */
public
class
LineReader
{
public
static
class
LineReader
{
/** Name of the file. Used in error messages. */
private
final
String
name
;
...
...
@@ -214,9 +214,9 @@ public class CssiSpaceWeatherDataLoader implements DataLoader {
final
double
ctr81Adj
,
final
double
lst81Adj
,
final
double
f107Obs
,
final
double
ctr81Obs
,
final
double
lst81Obs
)
{
this
.
date
=
date
;
this
.
threeHourlyKp
=
threeHourlyKp
;
this
.
threeHourlyKp
=
threeHourlyKp
.
clone
()
;
this
.
kpSum
=
kpSum
;
this
.
threeHourlyAp
=
threeHourlyAp
;
this
.
threeHourlyAp
=
threeHourlyAp
.
clone
()
;
this
.
apAvg
=
apAvg
;
this
.
f107Adj
=
f107Adj
;
this
.
fluxQualifier
=
fluxQualifier
;
...
...
@@ -237,7 +237,7 @@ public class CssiSpaceWeatherDataLoader implements DataLoader {
* @return the array of eight three-hourly Kp indices
*/
public
double
[]
getThreeHourlyKp
()
{
return
threeHourlyKp
;
return
threeHourlyKp
.
clone
()
;
}
/**
...
...
@@ -262,7 +262,7 @@ public class CssiSpaceWeatherDataLoader implements DataLoader {
* @return the array of eight three-hourly Ap indices
*/
public
double
[]
getThreeHourlyAp
()
{
return
threeHourlyAp
;
return
threeHourlyAp
.
clone
()
;
}
/**
...
...
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