@Test public void no_issues_with_empty_rubocop_file() throws IOException { List<ExternalIssue> externalIssues = executeSensorImporting(7, 2, "rubocop-report-empty.json"); assertThat(externalIssues).isEmpty(); assertNoErrorWarnDebugLogs(logTester); }
private static boolean isEmpty(@Nullable String value) { return value == null || value.trim().isEmpty(); }
RuboCopSensor implements Sensor { private static boolean isEmpty(@Nullable String value) { return value == null || value.trim().isEmpty(); } }
RuboCopSensor implements Sensor { private static boolean isEmpty(@Nullable String value) { return value == null || value.trim().isEmpty(); }  }
RuboCopSensor implements Sensor { private static boolean isEmpty(@Nullable String value) { return value == null || value.trim().isEmpty(); }  @Override void describe(SensorDescriptor descriptor); @Override void execute(SensorContext context); }
RuboCopSensor implements Sensor { private static boolean isEmpty(@Nullable String value) { return value == null || value.trim().isEmpty(); }  @Override void describe(SensorDescriptor descriptor); @Override void execute(SensorContext context); static final String REPORT_PROPERTY_KEY; }