forked from D-Net/dnet-hadoop
Update StatsAtomicActionsJob.java
Bug fix for duplicate bronze checks
This commit is contained in:
parent
d524e30866
commit
359e81b7a6
|
@ -138,10 +138,10 @@ public class StatsAtomicActionsJob implements Serializable {
|
|||
r.setPubliclyFunded(usm.isPublicly_funded());
|
||||
if (usm.isIs_bronze_oa())
|
||||
r.setOpenAccessColor(OpenAccessColor.bronze);
|
||||
else if (usm.isIs_gold())
|
||||
r.setOpenAccessColor(OpenAccessColor.bronze);
|
||||
else if (usm.isIs_gold())
|
||||
r.setOpenAccessColor(OpenAccessColor.gold);
|
||||
else if (usm.isIs_hybrid())
|
||||
r.setOpenAccessColor(OpenAccessColor.hybrid);
|
||||
return r;
|
||||
}, Encoders.bean(Result.class));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue