@Override
public boolean apply(Sone sone) {
- return (sone == null) ? false : sone.getTime() != 0;
+ return (sone != null) && (sone.getTime() != 0);
}
};
@Override
public boolean apply(Sone sone) {
- return (sone == null) ? false : sone.getIdentity() instanceof OwnIdentity;
+ return (sone != null) && (sone.getIdentity() instanceof OwnIdentity);
}
};
@Override
public boolean apply(Sone sone) {
- return (sone == null) ? false : !sone.getRootAlbum().getAlbums().isEmpty();
+ return (sone != null) && !sone.getRootAlbum().getAlbums().isEmpty();
}
};
*
* @return The options of this Sone
*/
- Options getOptions();
+ SoneOptions getOptions();
/**
* Sets the options of this Sone.
* The options of this Sone
*/
/* TODO - remove this method again, maybe add an option provider */
- void setOptions(Options options);
+ void setOptions(SoneOptions options);
}