- Fix getter and setter methods for the "isAuthoritative" field.
- Update Gradle.
This commit is contained in:
parent
b2ce6393c1
commit
ebf8896005
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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{" +
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue