Recorded in http://jira.codehaus.org/browse/MERCURY-59, will comply asahp

Benjamin Bentmann wrote:
Hi Oleg,

Author: ogusakov
Date: Mon Dec 15 16:04:14 2008
New Revision: 726880

URL: http://svn.apache.org/viewvc?rev=726880&view=rev
Log:
[MERCURY-56] verification configuration for mercury ant tasks done, PGP unit test works on osx. Need test keyrings for other platforms.

[...]

@@ -30,7 +40,7 @@
 public class Config
 extends AbstractDataType
 {
- private static final Language LANG = new DefaultLanguage( Config.class ); + private static final Language _lang = new DefaultLanguage( Config.class );
      Collection<Repo> _repos;
   @@ -178,6 +123,22 @@
     String _authid;
     String _proxyauthid;
     +    boolean _readable = true;
+    boolean _writeable = false;
+    +    List<Verify> _writeVerifiers;
+    List<Verify> _readVerifiers;
+
+    public void setReadable( boolean readable )
+    {
+      this._readable = readable;
+    }
+
+    @@ -207,6 +168,135 @@
     {
       return _dir != null;
     }
+    +    public Verify createVerifywrite()
+    {
+      if( _writeVerifiers == null )
+        _writeVerifiers = new ArrayList<Verify>(2);

Please adopt our community conventions for Java code style [0, 1] which is usually as easy as importing the provided formatter configs into the IDE.

A consistent formatting eases reading/reviewing the code and more importantly simplifies contributing/patching.

Thanks


Benjamin


[0] http://maven.apache.org/developers/committer-environment.html#Maven_Code_Style
[1] http://maven.apache.org/developers/conventions/code.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to