@@ -83,4 +83,4 @@ public class XradarChart extends AbstractChart { | |||
} | |||
return set; | |||
} | |||
} | |||
} |
@@ -75,4 +75,4 @@ public final class ProjectHotspotDashboard extends DashboardTemplate { | |||
widget.setProperty(METRIC_PROPERTY, "public_undocumented_api"); | |||
} | |||
} | |||
} |
@@ -55,4 +55,4 @@ public final class ProjectIssuesDashboard extends DashboardTemplate { | |||
dashboard.addWidget("false_positive_reviews", 2); | |||
} | |||
} | |||
} |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.plugins.core.issue.notification; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.plugins.core.issue; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -65,4 +65,4 @@ public final class DirectoriesDecorator implements Decorator { | |||
} | |||
} | |||
} | |||
} | |||
} |
@@ -91,4 +91,4 @@ public class UnitTestDecorator implements Decorator { | |||
public String toString() { | |||
return getClass().getSimpleName(); | |||
} | |||
} | |||
} |
@@ -29,4 +29,4 @@ public class AlertsWidget extends CoreWidget { | |||
super("alerts", "Alerts", "/org/sonar/plugins/core/widgets/alerts.html.erb"); | |||
} | |||
} | |||
} |
@@ -24,4 +24,4 @@ public class ComplexityWidget extends CoreWidget { | |||
public ComplexityWidget() { | |||
super("complexity", "Complexity", "/org/sonar/plugins/core/widgets/complexity.html.erb"); | |||
} | |||
} | |||
} |
@@ -29,4 +29,4 @@ public class CoverageWidget extends CoreWidget { | |||
public CoverageWidget() { | |||
super("code_coverage", "Code coverage", "/org/sonar/plugins/core/widgets/coverage.html.erb"); | |||
} | |||
} | |||
} |
@@ -28,4 +28,4 @@ public class DescriptionWidget extends CoreWidget { | |||
public DescriptionWidget() { | |||
super("description", "Description", "/org/sonar/plugins/core/widgets/description.html.erb"); | |||
} | |||
} | |||
} |
@@ -24,4 +24,4 @@ public class EventsWidget extends CoreWidget { | |||
public EventsWidget() { | |||
super("events", "Events", "/org/sonar/plugins/core/widgets/events.html.erb"); | |||
} | |||
} | |||
} |
@@ -34,4 +34,4 @@ public class HotspotMetricWidget extends CoreWidget { | |||
public HotspotMetricWidget() { | |||
super("hotspot_metric", "Metric hotspot", "/org/sonar/plugins/core/widgets/hotspots/hotspot_metric.html.erb"); | |||
} | |||
} | |||
} |
@@ -33,4 +33,4 @@ public class HotspotMostViolatedResourcesWidget extends CoreWidget { | |||
public HotspotMostViolatedResourcesWidget() { | |||
super("hotspot_most_violated_resources", "Most violated resources", "/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_resources.html.erb"); | |||
} | |||
} | |||
} |
@@ -27,4 +27,4 @@ public class RulesWidget extends CoreWidget { | |||
public RulesWidget() { | |||
super("rules", "Rules Compliance", "/org/sonar/plugins/core/widgets/rules.html.erb"); | |||
} | |||
} | |||
} |
@@ -27,4 +27,4 @@ public class UnresolvedIssuesPerAssigneeWidget extends CoreWidget { | |||
public UnresolvedIssuesPerAssigneeWidget() { | |||
super("reviews_per_developer", "Unresolved issues per assignee", "/org/sonar/plugins/core/widgets/issues/unresolved_issues_per_assignee.html.erb"); | |||
} | |||
} | |||
} |
@@ -60,4 +60,4 @@ public class DistributionAreaChartTest extends AbstractChartTest { | |||
assertChartSizeGreaterThan(image, 1000); | |||
saveChart(image, "DistributionAreaChartTest/manySeriesIncludingAnEmptySerie.png"); | |||
} | |||
} | |||
} |
@@ -47,4 +47,4 @@ public class XradarChartTest extends AbstractChartTest { | |||
// you have to check visually that it does not work ! Min value is 0. This is a limitation of JFreeChart. | |||
assertChartSizeGreaterThan(img, 50); | |||
} | |||
} | |||
} |
@@ -90,4 +90,4 @@ public class WeightedIssuesDecoratorTest { | |||
assertThat(decorator.getWeightsBySeverity().get(RulePriority.MAJOR)).isEqualTo(1); | |||
} | |||
} | |||
} |
@@ -42,4 +42,4 @@ public class GwtDesignPage extends GwtPage { | |||
return "Design"; | |||
} | |||
} | |||
} |
@@ -40,4 +40,4 @@ public final class FileDesignWidget extends AbstractRubyTemplate implements Ruby | |||
protected String getTemplatePath() { | |||
return "/org/sonar/plugins/design/ui/widgets/file_design.html.erb"; | |||
} | |||
} | |||
} |
@@ -40,4 +40,4 @@ public final class PackageDesignWidget extends AbstractRubyTemplate implements R | |||
protected String getTemplatePath() { | |||
return "/org/sonar/plugins/design/ui/widgets/package_design.html.erb"; | |||
} | |||
} | |||
} |
@@ -60,4 +60,4 @@ public class PastSnapshotFinderByDate implements BatchExtension { | |||
return snapshots.isEmpty() ? null : snapshots.get(0); | |||
} | |||
} | |||
} |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.batch.issue; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -24,4 +24,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.batch.scan.filesystem; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -0,0 +1 @@ | |||
@@ -0,0 +1 @@ | |||
@@ -0,0 +1 @@ | |||
@@ -0,0 +1 @@ | |||
@@ -0,0 +1 @@ | |||
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1,3 +1,3 @@ | |||
package org.sonar.runner.batch.ProjectReactorBuilderTest.simple | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1 +1 @@ | |||
Fake | |||
Fake |
@@ -1,3 +1,3 @@ | |||
package org.sonar; | |||
public class Included {} | |||
public class Included {} |
@@ -1 +1 @@ | |||
class Foo {} | |||
class Foo {} |
@@ -1 +1 @@ | |||
public class Hello {} | |||
public class Hello {} |
@@ -1 +1 @@ | |||
class FooTest {} | |||
class FooTest {} |
@@ -1 +1 @@ | |||
public class HelloTest {} | |||
public class HelloTest {} |
@@ -138,4 +138,4 @@ public class ChannelDispatcher<O> extends Channel<O> { | |||
} | |||
} | |||
} | |||
} |
@@ -62,4 +62,4 @@ public class HtmlRenderer extends Renderer { | |||
throw new SynhtaxHighlightingException("Can not render code", e); | |||
} | |||
} | |||
} | |||
} |
@@ -28,4 +28,4 @@ public abstract class Renderer { | |||
public abstract String render(Reader code, List<? extends Channel<HtmlCodeBuilder>> tokenizers); | |||
} | |||
} |
@@ -14,4 +14,4 @@ public class Sample { | |||
} | |||
return "bar"; | |||
} | |||
} | |||
} |
@@ -49,4 +49,4 @@ public class Sample { | |||
@Target(ElementType.METHOD) | |||
@interface Foo { | |||
} | |||
} |
@@ -1 +1 @@ | |||
package org.sonar.colorizer.samples; | |||
package org.sonar.colorizer.samples; |
@@ -72,4 +72,4 @@ public class DatabaseConfiguration extends BaseConfiguration { | |||
} | |||
return sessionFactory.getSession(); | |||
} | |||
} | |||
} |
@@ -82,4 +82,4 @@ public class ResourceComponent implements Component { | |||
public Long resourceId() { | |||
return resourceId; | |||
} | |||
} | |||
} |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.core.component; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.core.graph.jdbc; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.core.graph; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.core.i18n; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.core.issue.db; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.core.issue; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -54,4 +54,4 @@ public class MeasureFilterDao implements BatchComponent, ServerComponent { | |||
MyBatis.closeQuietly(session); | |||
} | |||
} | |||
} | |||
} |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.core.notification.db; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -21,4 +21,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.core.permission; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.core.resource; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -21,4 +21,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.core.source.jdbc; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -21,4 +21,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.core.source; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -21,4 +21,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.core.test; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -48,4 +48,4 @@ public class DefaultDatabaseConnector extends AbstractDatabaseConnector { | |||
public Connection getConnection() throws SQLException { | |||
return database != null && database.getDataSource() != null ? database.getDataSource().getConnection() : null; | |||
} | |||
} | |||
} |
@@ -54,4 +54,4 @@ public class MemoryDatabaseConnector extends DefaultDatabaseConnector { | |||
} | |||
} | |||
} | |||
} | |||
} |
@@ -65,4 +65,4 @@ public class MeasureFilterDaoTest extends AbstractDaoTestCase { | |||
checkTables("shouldInsert", new String[]{"created_at", "updated_at"}, "measure_filters"); | |||
} | |||
} | |||
} |
@@ -43,4 +43,4 @@ public class DefaultModelFinderTest extends AbstractDbUnitTestCase { | |||
DefaultModelFinder provider = new DefaultModelFinder(getSessionFactory()); | |||
assertNull(provider.findByName("UNKNOWN")); | |||
} | |||
} | |||
} |
@@ -82,4 +82,4 @@ public class Cycle { | |||
} | |||
return false; | |||
} | |||
} | |||
} |
@@ -76,4 +76,4 @@ public class FileHashes { | |||
BigInteger bi = new BigInteger(1, bytes); | |||
return String.format("%0" + (bytes.length << 1) + "x", bi); | |||
} | |||
} | |||
} |
@@ -35,4 +35,4 @@ public @interface DependsUpon { | |||
* Used only on classes. Must be keep empty on methods. | |||
*/ | |||
String[] value() default {}; | |||
} | |||
} |
@@ -36,4 +36,4 @@ public @interface Phase { | |||
public enum Name { | |||
PRE, DEFAULT, POST | |||
} | |||
} | |||
} |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.api.batch.bootstrap.internal; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.api.batch.bootstrap; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.api.component.mock; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.api.component; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.api.config.internal; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.api.config; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -46,4 +46,4 @@ public interface DatabaseProperties { | |||
* @since 3.2 | |||
*/ | |||
String PROP_EMBEDDED_PORT_DEFAULT_VALUE = "9092"; | |||
} | |||
} |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.api.i18n; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.api.issue.action; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.api.issue.condition; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -24,4 +24,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.api.issue.internal; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.api.issue; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -37,4 +37,4 @@ public interface FormulaContext { | |||
@Deprecated | |||
Configuration getConfiguration(); | |||
} | |||
} |
@@ -26,4 +26,4 @@ package org.sonar.api.measures; | |||
*/ | |||
public interface MeasureBuilder { | |||
Measure build(); | |||
} | |||
} |
@@ -20,4 +20,4 @@ | |||
@ParametersAreNonnullByDefault | |||
package org.sonar.api.platform; | |||
import javax.annotation.ParametersAreNonnullByDefault; | |||
import javax.annotation.ParametersAreNonnullByDefault; |
@@ -32,4 +32,4 @@ public abstract class ProfileDefinition implements ServerExtension { | |||
public abstract RulesProfile createProfile(ValidationMessages validation); | |||
} | |||
} |
@@ -222,4 +222,4 @@ public class File extends Resource<Directory> { | |||
.append("language", language) | |||
.toString(); | |||
} | |||
} | |||
} |
@@ -126,4 +126,4 @@ public class JavaPackage extends Resource { | |||
.append("key", getKey()) | |||
.toString(); | |||
} | |||
} | |||
} |
@@ -127,4 +127,4 @@ public class ProjectLink extends BaseIdentifiable { | |||
this.name = link.getName(); | |||
this.href = link.getHref(); | |||
} | |||
} | |||
} |