projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Sone-specific options object.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
SoneImpl.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/SoneImpl.java
b/src/main/java/net/pterodactylus/sone/data/SoneImpl.java
index
f57bac9
..
848fc04
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/SoneImpl.java
+++ b/
src/main/java/net/pterodactylus/sone/data/SoneImpl.java
@@
-28,7
+28,7
@@
import java.util.concurrent.CopyOnWriteArraySet;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.logging.Level;
import java.util.logging.Logger;
-import net.pterodactylus.sone.
core.
Options;
+import net.pterodactylus.sone.
data.SoneOptions.DefaultSone
Options;
import net.pterodactylus.sone.freenet.wot.Identity;
import net.pterodactylus.util.logging.Logging;
import net.pterodactylus.sone.freenet.wot.Identity;
import net.pterodactylus.util.logging.Logging;
@@
-102,7
+102,7
@@
public class SoneImpl implements Sone {
private final Album rootAlbum = new AlbumImpl().setSone(this);
/** Sone-specific options. */
private final Album rootAlbum = new AlbumImpl().setSone(this);
/** Sone-specific options. */
- private
Options options = new
Options();
+ private
SoneOptions options = new DefaultSone
Options();
/**
* Creates a new Sone.
/**
* Creates a new Sone.
@@
-643,7
+643,7
@@
public class SoneImpl implements Sone {
*
* @return The options of this Sone
*/
*
* @return The options of this Sone
*/
- public Options getOptions() {
+ public
Sone
Options getOptions() {
return options;
}
return options;
}
@@
-654,7
+654,7
@@
public class SoneImpl implements Sone {
* The options of this Sone
*/
/* TODO - remove this method again, maybe add an option provider */
* The options of this Sone
*/
/* TODO - remove this method again, maybe add an option provider */
- public void setOptions(Options options) {
+ public void setOptions(
Sone
Options options) {
this.options = options;
}
this.options = options;
}