id stringlengths 23 26 | content stringlengths 182 2.49k |
|---|---|
codereview_java_data_13072 | super.visit(node, data);
if (ClassMetricKey.NCSS.supports(node)) {
- int classCount = (int) Metrics.get(ClassMetricKey.NCSS, node);
int classHighest = (int) Metrics.get(OperationMetricKey.NCSS, node, ResultOption.HIGHEST);
- if (classCount >= classReportLevel || clas... |
codereview_java_data_13080 | private final Logger PROCESS_LOG = LogManager.getLogger("tech.pegasys.pantheon.SubProcessLog");
private final Map<String, Process> pantheonProcesses = new HashMap<>();
- private ExecutorService outputProcessorExecutor = Executors.newCachedThreadPool();
ProcessPantheonNodeRunner() {
Runtime.getRuntime().a... |
codereview_java_data_13083 | .endFileIndex(END_FILE_INDEX)
.build();
}
-}
\ No newline at end of file
are we reading the images from current directory in this setting?
.endFileIndex(END_FILE_INDEX)
.build();
}
\ No newline at end of file
+} |
codereview_java_data_13094 | try {
hook.consumeMessageBefore(context);
} catch (Throwable e) {
}
}
}
Swallowing exceptions is not a good practice
try {
hook.consumeMessageBefore(context);
} catch (T... |
codereview_java_data_13098 | } else {
if (term.equals(result)) {
kem.registerCriticalWarning("Step " + step + ": infinite loop after applying a spec rule.");
- proofResults.add(result);
}
... |
codereview_java_data_13103 | * deselected (false)
*/
private void setSelected(WebElement option, boolean select) {
- if ((!option.isSelected() && select) || (option.isSelected() && !select)) {
option.click();
}
}
it's not efficient to make the remote call to isSelected multiple times here. Please either rever... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.