Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rugged
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
Container Registry
Model registry
Operate
Environments
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
Orekit
Rugged
Commits
4f6c3b68
Commit
4f6c3b68
authored
6 years ago
by
Guylaine Prat
Browse files
Options
Downloads
Patches
Plain Diff
Checkstyle corrections
parent
304a7b36
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/orekit/rugged/errors/DumpManager.java
+4
-2
4 additions, 2 deletions
src/main/java/org/orekit/rugged/errors/DumpManager.java
with
4 additions
and
2 deletions
src/main/java/org/orekit/rugged/errors/DumpManager.java
+
4
−
2
View file @
4f6c3b68
...
@@ -86,8 +86,9 @@ public class DumpManager {
...
@@ -86,8 +86,9 @@ public class DumpManager {
}
}
/** Suspend the dump.
/** Suspend the dump.
* In case the dump is already suspended, keep the previous status in order to
* In case the dump is already suspended, keep the previous status in order to
* correctly deal the resume stage.
* correctly deal the resume stage.
* @return a flag to tell if the dump is already suspended (true; false otherwise)
*/
*/
public
static
Boolean
suspend
()
{
public
static
Boolean
suspend
()
{
// Check if the dump is already suspended
// Check if the dump is already suspended
...
@@ -100,8 +101,9 @@ public class DumpManager {
...
@@ -100,8 +101,9 @@ public class DumpManager {
}
}
/** Resume the dump, only if it was not already suspended.
/** Resume the dump, only if it was not already suspended.
* @param wasSuspended flag to tell if the dump was already suspended (true; false otherwise)
*/
*/
public
static
void
resume
(
Boolean
wasSuspended
)
{
public
static
void
resume
(
final
Boolean
wasSuspended
)
{
if
(!
wasSuspended
)
{
if
(!
wasSuspended
)
{
isSuspended
=
false
;
isSuspended
=
false
;
}
}
...
...
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