@Test public void no_issues_with_sonarqube_71() throws IOException { List<ExternalIssue> externalIssues = executeSensorImporting(7, 1, "rubocop-report.json"); assertThat(externalIssues).isEmpty(); assertThat(logTester.logs(LoggerLevel.ERROR)).containsExactly("Import of external issues requires SonarQube 7.2 or greater."); }
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; }