projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copy options when rescuing Sone.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
Sone.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/Sone.java
b/src/main/java/net/pterodactylus/sone/data/Sone.java
index
9d9d2d7
..
a609982
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/Sone.java
+++ b/
src/main/java/net/pterodactylus/sone/data/Sone.java
@@
-228,7
+228,7
@@
public class Sone implements Fingerprintable, Comparable<Sone> {
private final List<Album> albums = new CopyOnWriteArrayList<Album>();
/** Sone-specific options. */
private final List<Album> albums = new CopyOnWriteArrayList<Album>();
/** Sone-specific options. */
- private
final
Options options = new Options();
+ private Options options = new Options();
/**
* Creates a new Sone.
/**
* Creates a new Sone.
@@
-895,6
+895,17
@@
public class Sone implements Fingerprintable, Comparable<Sone> {
return options;
}
return options;
}
+ /**
+ * Sets the options of this Sone.
+ *
+ * @param options
+ * The options of this Sone
+ */
+ /* TODO - remove this method again, maybe add an option provider */
+ public void setOptions(Options options) {
+ this.options = options;
+ }
+
//
// FINGERPRINTABLE METHODS
//
//
// FINGERPRINTABLE METHODS
//