- Fix getter and setter methods for the "isAuthoritative" field.

- Update Gradle.
This commit is contained in:
Lampros Smyrnaios 2023-10-05 16:31:52 +03:00
parent b2ce6393c1
commit ebf8896005
4 changed files with 6 additions and 8 deletions

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

View File

@ -26,7 +26,7 @@ if [[ justInstall -eq 1 && shouldRunInDocker -eq 1 ]]; then
justInstall=0
fi
gradleVersion="8.3"
gradleVersion="8.4"
if [[ justInstall -eq 0 ]]; then

View File

@ -75,7 +75,6 @@ public class BulkImport {
public BulkImportSource() {
}
public String getDatasourceID() {
return datasourceID;
}
@ -108,15 +107,14 @@ public class BulkImport {
this.mimeType = mimeType;
}
public boolean isAuthoritative() {
public boolean getIsAuthoritative() {
return isAuthoritative;
}
public void setAuthoritative(boolean authoritative) {
isAuthoritative = authoritative;
public void setIsAuthoritative(boolean isAuthoritative) {
this.isAuthoritative = isAuthoritative;
}
@Override
public String toString() {
return "BulkImportSource{" +

View File

@ -399,7 +399,7 @@ public class BulkImportServiceImpl implements BulkImportService {
DatabaseConnector.databaseLock.unlock();
}
String openAireId = generateOpenaireId(fileNameID, datasourcePrefix, bulkImportSource.isAuthoritative());
String openAireId = generateOpenaireId(fileNameID, datasourcePrefix, bulkImportSource.getIsAuthoritative());
if ( openAireId == null )
return null;