Merge pull request #1889 from OpenRefine/issue1882

Update Butterfly to 1.0.2.
This commit is contained in:
Antonin Delpeuch 2018-12-30 11:38:36 +01:00 committed by GitHub
commit 234ca8486a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 5 additions and 43 deletions

View File

@ -74,28 +74,6 @@ public class PerformWikibaseEditsOperation extends EngineDependentOperation {
Validate.notEmpty(summary, "An edit summary must be provided."); Validate.notEmpty(summary, "An edit summary must be provided.");
this.summary = summary; this.summary = summary;
} }
/* The constructor above should be enough for deserialization,
* but for some unknown reason it can fail in certain cases
* (might be due to caching deserializers across threads?)
*
* So we sadly add a default constructor and a setter below.
*
* TODO delete the default constructor and setter, make summary final
*/
public PerformWikibaseEditsOperation() {
super(null);
}
@JsonProperty("engineConfig")
public void setEngineConfig(EngineConfig config) {
this._engineConfig = config;
}
@JsonProperty("summary")
public void setSummary(String summary) {
this.summary = summary;
}
@Override @Override
protected String getBriefDescription(Project project) { protected String getBriefDescription(Project project) {

View File

@ -45,30 +45,14 @@ public class SaveWikibaseSchemaOperation extends AbstractOperation {
@JsonIgnore @JsonIgnore
final public static String operationDescription = "Save Wikibase schema"; final public static String operationDescription = "Save Wikibase schema";
@JsonProperty("schema") @JsonProperty("schema")
protected WikibaseSchema _schema; final protected WikibaseSchema _schema;
@JsonCreator @JsonCreator
public SaveWikibaseSchemaOperation( public SaveWikibaseSchemaOperation(
@JsonProperty("schema") @JsonProperty("schema")
WikibaseSchema schema) { WikibaseSchema schema) {
this._schema = schema; this._schema = schema;
}
/* The constructor above should be enough for deserialization,
* but for some unknown reason it can fail in certain cases
* (might be due to caching deserializers across threads?)
*
* So we sadly add a default constructor and a setter below.
*
* TODO delete the default constructor and setter, make schema final
*/
public SaveWikibaseSchemaOperation() {
}
@JsonProperty("schema")
public void setSchema(WikibaseSchema schema) {
this._schema = schema;
} }
@Override @Override

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -155,11 +155,11 @@
<id>install-butterfly</id> <id>install-butterfly</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<file>${basedir}/lib-local/butterfly-1.0.1.jar</file> <file>${basedir}/lib-local/butterfly-1.0.2.jar</file>
<repositoryLayout>default</repositoryLayout> <repositoryLayout>default</repositoryLayout>
<groupId>edu.mit.simile</groupId> <groupId>edu.mit.simile</groupId>
<artifactId>butterfly</artifactId> <artifactId>butterfly</artifactId>
<version>1.0.1</version> <version>1.0.2</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<generatePom>true</generatePom> <generatePom>true</generatePom>
</configuration> </configuration>
@ -268,7 +268,7 @@
<dependency> <dependency>
<groupId>edu.mit.simile</groupId> <groupId>edu.mit.simile</groupId>
<artifactId>butterfly</artifactId> <artifactId>butterfly</artifactId>
<version>1.0.1</version> <version>1.0.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.mozilla</groupId> <groupId>org.mozilla</groupId>