Explorar el Código

Add CheckForNull to ScmProvider#revision

tags/8.4.0.35506
Duarte Meneses hace 4 años
padre
commit
dcc32fd76d

+ 1
- 0
sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmProvider.java Ver fichero

@@ -113,6 +113,7 @@ public abstract class ScmProvider {
* for example the SHA1 of the current HEAD in a Git branch.
* @since 7.0
*/
@CheckForNull
public String revisionId(Path path) {
throw new UnsupportedOperationException(formatUnsupportedMessage("Getting revision id"));
}

Cargando…
Cancelar
Guardar