projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🚸 Download the files, including from archives
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
impl
/
ImageImpl.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/impl/ImageImpl.java
b/src/main/java/net/pterodactylus/sone/data/impl/ImageImpl.java
index
0dd84fe
..
9446cec
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/impl/ImageImpl.java
+++ b/
src/main/java/net/pterodactylus/sone/data/impl/ImageImpl.java
@@
-95,7
+95,7
@@
public class ImageImpl implements Image {
@Override
public Image setAlbum(Album album) {
checkNotNull(album, "album must not be null");
@Override
public Image setAlbum(Album album) {
checkNotNull(album, "album must not be null");
- check
NotNull
(album.getSone().equals(getSone()), "album must belong to the same Sone as this image");
+ check
State
(album.getSone().equals(getSone()), "album must belong to the same Sone as this image");
this.album = album;
return this;
}
this.album = album;
return this;
}