projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include Sone ID in downloader thread name.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
core
/
FreenetInterface.java
diff --git
a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java
b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java
index
93580a3
..
8766485
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/core/FreenetInterface.java
+++ b/
src/main/java/net/pterodactylus/sone/core/FreenetInterface.java
@@
-17,6
+17,7
@@
package net.pterodactylus.sone.core;
package net.pterodactylus.sone.core;
+import static java.lang.String.format;
import static net.pterodactylus.sone.data.Sone.TO_FREENET_URI;
import java.net.MalformedURLException;
import static net.pterodactylus.sone.data.Sone.TO_FREENET_URI;
import java.net.MalformedURLException;
@@
-380,7
+381,7
@@
public class FreenetInterface {
public void run() {
soneDownloader.fetchSone(sone);
}
public void run() {
soneDownloader.fetchSone(sone);
}
- },
"Sone Downloader"
).start();
+ },
format("Sone Downloader for %s", sone.getId())
).start();
}
}
}
}