File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
commons/src/main/java/org/wikimedia/commons Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,18 @@ public long getDataLength() {
7474 return dataLength ;
7575 }
7676
77+ public void setDataLength (long dataLength ) {
78+ this .dataLength = dataLength ;
79+ }
80+
7781 public Date getDateCreated () {
7882 return dateCreated ;
7983 }
8084
85+ public void setDateCreated (Date date ) {
86+ this .dateCreated = date ;
87+ }
88+
8189 public Date getDateUploaded () {
8290 return dateUploaded ;
8391 }
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ public void setImageUrl(String imageUrl) {
176176 this .imageUrl = imageUrl ;
177177 }
178178
179- private Contribution () {
179+ public Contribution () {
180180 // Empty constructor for being constructed by our static methods
181181 }
182182
@@ -206,6 +206,10 @@ public void setSource(String source) {
206206 this .source = source ;
207207 }
208208
209+ public void setLocalUri (Uri localUri ) {
210+ this .localUri = localUri ;
211+ }
212+
209213
210214 public static class Table {
211215 public static final String TABLE_NAME = "contributions" ;
You can’t perform that action at this time.
0 commit comments