1
0
Fork 0

code formatting

This commit is contained in:
Claudio Atzori 2022-02-18 15:19:15 +01:00
parent cf8443780e
commit 401dd38074
4 changed files with 45 additions and 48 deletions

View File

@ -123,7 +123,8 @@ public class CreateActionSetSparkJob implements Serializable {
citing = ID_PREFIX + IdentifierFactory
.md5(
CleaningFunctions
.normalizePidValue("doi", value.getCiting().substring(0, value.getCiting().indexOf(".refs"))));
.normalizePidValue(
"doi", value.getCiting().substring(0, value.getCiting().indexOf(".refs"))));
relationList.addAll(getRelations(citing, cited));
}
}

View File

@ -12,7 +12,6 @@ public class COCI implements Serializable {
private String cited;
public String getOci() {
return oci;
}
@ -37,5 +36,4 @@ public class COCI implements Serializable {
this.cited = cited;
}
}

View File

@ -122,8 +122,6 @@ public class ReadCOCITest {
"-inputFile", "input1;input2;input3;input4;input5"
});
final JavaSparkContext sc = JavaSparkContext.fromSparkContext(spark.sparkContext());
JavaRDD<COCI> tmp = sc