Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-jams
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
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
savoirfairelinux
jami-jams
Commits
f488583d
Commit
f488583d
authored
4 years ago
by
Felix Sidokhine
Browse files
Options
Downloads
Patches
Plain Diff
removed useless extension
parent
98614bc0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
updater/src/main/java/net/jami/jams/updater/JAMSUpdater.java
+1
-20
1 addition, 20 deletions
updater/src/main/java/net/jami/jams/updater/JAMSUpdater.java
with
1 addition
and
20 deletions
updater/src/main/java/net/jami/jams/updater/JAMSUpdater.java
+
1
−
20
View file @
f488583d
...
...
@@ -10,7 +10,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
@Slf4j
@Getter
@Setter
public
class
JAMSUpdater
extends
Thread
implements
AppUpdater
{
public
class
JAMSUpdater
implements
AppUpdater
{
private
final
AtomicBoolean
updateAvailable
=
new
AtomicBoolean
(
false
);
private
final
AtomicBoolean
doUpdate
;
...
...
@@ -18,25 +18,6 @@ public class JAMSUpdater extends Thread implements AppUpdater {
public
JAMSUpdater
(
AtomicBoolean
doUpdate
)
{
this
.
doUpdate
=
doUpdate
;
this
.
start
();
//As a mock I left this here, please remove it when this is done.
}
@Override
public
void
run
()
{
try
{
synchronized
(
this
){
this
.
wait
(
20_000
);
}
this
.
doUpdate
.
set
(
true
);
synchronized
(
doUpdate
)
{
doUpdate
.
notify
();
}
}
catch
(
Exception
e
){
log
.
error
(
"An error has occurred! {}"
,
e
.
getMessage
());
}
}
@Override
...
...
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