This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-scm.git


The following commit(s) were added to refs/heads/master by this push:
     new 48371a549 Declare throws Exception in the usage sample
48371a549 is described below

commit 48371a549c7c1b96006dfc7b9a018234eacde4b7
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 1 15:58:21 2026 +0000

    Declare throws Exception in the usage sample
---
 src/site/markdown/guide/usage.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/site/markdown/guide/usage.md b/src/site/markdown/guide/usage.md
index c46ec7986..a3ac9bc16 100644
--- a/src/site/markdown/guide/usage.md
+++ b/src/site/markdown/guide/usage.md
@@ -86,7 +86,7 @@ Before you call a command, the SCM manager needs an 
`ScmRepository`. This object
 
 ```java
     public ScmRepository getScmRepository( String scmUrl )
-        throw Exception
+        throws Exception
     {
         ScmRepository repository;
 

Reply via email to