Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Orekit
Orekit
Commits
985cfd2b
Commit
985cfd2b
authored
Dec 13, 2021
by
Luc Maisonobe
Browse files
Simplified temporary list build.
parent
c467c9a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/orekit/forces/maneuvers/propulsion/BasicConstantThrustPropulsionModel.java
View file @
985cfd2b
...
...
@@ -17,8 +17,7 @@
package
org.orekit.forces.maneuvers.propulsion
;
import
java.util.ArrayList
;
import
java.util.Collections
;
import
java.util.Arrays
;
import
java.util.List
;
import
org.hipparchus.CalculusFieldElement
;
...
...
@@ -107,10 +106,7 @@ public class BasicConstantThrustPropulsionModel extends AbstractConstantThrustPr
/** {@inheritDoc} */
@Override
public
List
<
ParameterDriver
>
getParametersDrivers
()
{
final
List
<
ParameterDriver
>
drivers
=
new
ArrayList
<>(
2
);
drivers
.
add
(
thrustDriver
);
drivers
.
add
(
flowRateDriver
);
return
Collections
.
unmodifiableList
(
drivers
);
return
Arrays
.
asList
(
thrustDriver
,
flowRateDriver
);
}
/** {@inheritDoc} */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment