- ImageImpl.this.sone = sone.or(ImageImpl.this.sone);
- ImageImpl.this.creationTime = creationTime.or(ImageImpl.this.creationTime);
- ImageImpl.this.key = key.or(ImageImpl.this.key);
- ImageImpl.this.title = title.or(ImageImpl.this.title);
- ImageImpl.this.description = description.or(ImageImpl.this.description);
- ImageImpl.this.width = width.or(ImageImpl.this.width);
- ImageImpl.this.height = height.or(ImageImpl.this.height);
+
+ if (sone.isPresent()) {
+ ImageImpl.this.sone = sone.get();
+ }
+ if (creationTime.isPresent()) {
+ ImageImpl.this.creationTime = creationTime.get();
+ }
+ if (key.isPresent()) {
+ ImageImpl.this.key = key.get();
+ }
+ if (title.isPresent()) {
+ ImageImpl.this.title = title.get();
+ }
+ if (description.isPresent()) {
+ ImageImpl.this.description = description.get();
+ }
+ if (width.isPresent()) {
+ ImageImpl.this.width = width.get();
+ }
+ if (height.isPresent()) {
+ ImageImpl.this.height = height.get();
+ }