maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r373785 - in /maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src: main/java/org/apache/maven/scm/provider/bazaar/ main/java/org/apache/maven/scm/provider/bazaar/command/ main/java/org/apache/maven/scm/provider/bazaar/command/add/ main/ja...
Date Tue, 31 Jan 2006 10:05:04 GMT
Author: evenisse
Date: Tue Jan 31 02:04:43 2006
New Revision: 373785

URL: http://svn.apache.org/viewcvs?rev=373785&view=rev
Log:
Add copyright and format code.

Modified:
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/BazaarScmProvider.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/BazaarUtils.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/BazaarCommand.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/BazaarConsumer.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/add/BazaarAddCommand.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/add/BazaarAddConsumer.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/changelog/BazaarChangeLogCommand.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/changelog/BazaarChangeLogConsumer.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkin/BazaarCheckInCommand.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutCommand.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutConsumer.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/diff/BazaarDiffCommand.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/diff/BazaarDiffConsumer.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/remove/BazaarRemoveCommand.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/remove/BazaarRemoveConsumer.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusCommand.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusConsumer.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/update/BazaarUpdateCommand.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/repository/BazaarScmProviderRepository.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/BazaarTestUtils.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/checkin/BazaarCheckInCommandTest.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutCommandTest.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusCommandTest.java
    maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/update/BazaarUpdateCommandTest.java

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/BazaarScmProvider.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/BazaarScmProvider.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/BazaarScmProvider.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/BazaarScmProvider.java Tue Jan 31 02:04:43 2006
@@ -1,8 +1,20 @@
 package org.apache.maven.scm.provider.bazaar;
 
-import java.io.File;
-import java.util.ArrayList;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.CommandParameters;
 import org.apache.maven.scm.ScmException;
@@ -31,9 +43,13 @@
 import org.apache.maven.scm.repository.ScmRepositoryException;
 import org.apache.maven.scm.repository.UnknownRepositoryStructure;
 
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+
 /**
  * Bazaar NG http://bazaar.canonical.com/ is a decentralized revision control system. <br>
- *
+ * <p/>
  * The main difference from a centralized revision system is <br>
  * that it makes no distinction between the working tree and the repository.<br>
  *
@@ -74,7 +90,7 @@
     {
         List errorMessages = new ArrayList();
 
-        String[] checkCmd = new String[] { "check", scmSpecificUrl };
+        String[] checkCmd = new String[]{"check", scmSpecificUrl};
         ScmResult result;
         try
         {

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/BazaarUtils.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/BazaarUtils.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/BazaarUtils.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/BazaarUtils.java Tue Jan 31 02:04:43 2006
@@ -1,10 +1,20 @@
 package org.apache.maven.scm.provider.bazaar;
 
-import java.io.File;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmException;
 import org.apache.maven.scm.ScmFileSet;
@@ -16,9 +26,15 @@
 import org.apache.maven.scm.provider.bazaar.command.BazaarConsumer;
 import org.codehaus.plexus.util.cli.CommandLineException;
 import org.codehaus.plexus.util.cli.CommandLineUtils;
+import org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer;
 import org.codehaus.plexus.util.cli.Commandline;
 import org.codehaus.plexus.util.cli.StreamConsumer;
-import org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
 
 /**
  * Common code for executing bazaar commands.
@@ -28,10 +44,14 @@
 public class BazaarUtils
 {
 
-    /** Map between command  and its valid exitcodes */
+    /**
+     * Map between command  and its valid exitcodes
+     */
     private static final Map exitCodeMap = new HashMap();
 
-    /** Defualt exit codes for entries not in exitCodeMap */
+    /**
+     * Defualt exit codes for entries not in exitCodeMap
+     */
     private static final List defaultExitCodes = new ArrayList();
 
     /** Setup exit codes*/
@@ -77,8 +97,8 @@
             throw new ScmException( "Command could not be executed: " + cmd, ex );
         }
 
-        List exitCodes = exitCodeMap.containsKey( cmdAndArgs[0] ) ? (List) exitCodeMap.get( cmdAndArgs[0] )
-                                                                 : defaultExitCodes;
+        List exitCodes =
+            exitCodeMap.containsKey( cmdAndArgs[0] ) ? (List) exitCodeMap.get( cmdAndArgs[0] ) : defaultExitCodes;
         boolean success = exitCodes.contains( new Integer( exitCode ) );
 
         return new ScmResult( cmd.toString(), "Execution of bazaar command failed", stderr.getOutput(), success );
@@ -112,7 +132,7 @@
         throws ScmException
     {
 
-        String[] revCmd = new String[] { BazaarCommand.REVNO_CMD };
+        String[] revCmd = new String[]{BazaarCommand.REVNO_CMD};
         BazaarRevNoConsumer consumer = new BazaarRevNoConsumer( logger );
         BazaarUtils.execute( consumer, logger, workingDir, revCmd );
 
@@ -121,7 +141,7 @@
 
     /**
      * Get current (working) revision.
-     *
+     * <p/>
      * Resolves revision to the last integer found in the command output.
      */
     private static class BazaarRevNoConsumer

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/BazaarCommand.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/BazaarCommand.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/BazaarCommand.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/BazaarCommand.java Tue Jan 31 02:04:43 2006
@@ -1,10 +1,26 @@
 package org.apache.maven.scm.provider.bazaar.command;
 
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import org.apache.maven.scm.command.Command;
 
 /**
  * Available/Used bazaar commands.
- *
+ * <p/>
  * These commands does not necessarily correspont to the SCM API.
  * Eg. "check in" is translated to be "commit" and "push".
  *
@@ -13,43 +29,69 @@
 public interface BazaarCommand
     extends Command
 {
-    /** Executable for Bazaar */
+    /**
+     * Executable for Bazaar
+     */
     public static final String EXEC = "bzr";
 
-    /** Use to create an empty branch or before importing an existing project */
+    /**
+     * Use to create an empty branch or before importing an existing project
+     */
     public static final String INIT_CMD = "init";
 
-    /** Default recursive. Common option: --dry-run and --no-recursive */
+    /**
+     * Default recursive. Common option: --dry-run and --no-recursive
+     */
     public static final String ADD_CMD = "add";
 
-    /** Reports the following states: added, removed, modified, unchanged, unknown */
+    /**
+     * Reports the following states: added, removed, modified, unchanged, unknown
+     */
     public static final String STATUS_CMD = "status";
 
-    /** Make a file unversioned */
+    /**
+     * Make a file unversioned
+     */
     public static final String REMOVE_CMD = "remove";
 
-    /** Create a new copy of a branch. Alias get or clone */
+    /**
+     * Create a new copy of a branch. Alias get or clone
+     */
     public static final String BRANCH_CMD = "branch";
 
-    /** Commit changes into a new revision */
+    /**
+     * Commit changes into a new revision
+     */
     public static final String COMMIT_CMD = "commit";
 
-    /** Pull any changes from another branch into the current one */
+    /**
+     * Pull any changes from another branch into the current one
+     */
     public static final String PULL_CMD = "pull";
 
-    /** Show log of this branch Common option: --revision */
+    /**
+     * Show log of this branch Common option: --revision
+     */
     public static final String LOG_CMD = "log";
 
-    /** Show differences in workingtree. Common option: --revision */
+    /**
+     * Show differences in workingtree. Common option: --revision
+     */
     public static final String DIFF_CMD = "diff";
 
-    /** Push this branch into another branch */
+    /**
+     * Push this branch into another branch
+     */
     public static final String PUSH_CMD = "push";
 
-    /** Show current revision number */
+    /**
+     * Show current revision number
+     */
     public static final String REVNO_CMD = "revno";
 
-    /** Show inventory of the current working copy or a revision */
+    /**
+     * Show inventory of the current working copy or a revision
+     */
     public static final String INVENTORY_CMD = "inventory";
 
     public static final String NO_RECURSE_OPTION = "--no-recurse";

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/BazaarConsumer.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/BazaarConsumer.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/BazaarConsumer.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/BazaarConsumer.java Tue Jan 31 02:04:43 2006
@@ -1,16 +1,32 @@
 package org.apache.maven.scm.provider.bazaar.command;
 
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmFileStatus;
 import org.apache.maven.scm.log.ScmLogger;
 import org.codehaus.plexus.util.cli.StreamConsumer;
 
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+
 /**
  * Base consumer to do common parsing for all bazaar commands.
- * <p>
+ * <p/>
  * More spesific: log line on debug, get file status
  * and detect warnings from bazaar
  *
@@ -20,10 +36,14 @@
     implements StreamConsumer
 {
 
-    /** A list of known keywords from bazaar */
+    /**
+     * A list of known keywords from bazaar
+     */
     private static final Map identifiers = new HashMap();
 
-    /** A list of known message prefixes from bazaar */
+    /**
+     * A list of known message prefixes from bazaar
+     */
     private static final Map messages = new HashMap();
 
     static
@@ -37,7 +57,9 @@
         messages.put( "bzr: ERROR:", "ERROR" );
     }
 
-    /** Shared logger with all consumer implementations */
+    /**
+     * Shared logger with all consumer implementations
+     */
     protected final ScmLogger logger;
 
     public BazaarConsumer( ScmLogger logger )

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/add/BazaarAddCommand.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/add/BazaarAddCommand.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/add/BazaarAddCommand.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/add/BazaarAddCommand.java Tue Jan 31 02:04:43 2006
@@ -1,7 +1,20 @@
 package org.apache.maven.scm.provider.bazaar.command.add;
 
-import java.io.File;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmException;
 import org.apache.maven.scm.ScmFileSet;
@@ -12,6 +25,9 @@
 import org.apache.maven.scm.provider.bazaar.BazaarUtils;
 import org.apache.maven.scm.provider.bazaar.command.BazaarCommand;
 
+import java.io.File;
+import java.util.List;
+
 /**
  * Add no recursive.
  *
@@ -22,17 +38,17 @@
     implements BazaarCommand
 {
     protected ScmResult executeAddCommand( ScmProviderRepository repo, ScmFileSet fileSet, String message,
-                                          boolean binary )
+                                           boolean binary )
         throws ScmException
     {
-        String[] addCmd = new String[] { ADD_CMD, NO_RECURSE_OPTION };
+        String[] addCmd = new String[]{ADD_CMD, NO_RECURSE_OPTION};
         addCmd = BazaarUtils.expandCommandLine( addCmd, fileSet );
 
         File workingDir = fileSet.getBasedir();
         BazaarAddConsumer consumer = new BazaarAddConsumer( getLogger(), workingDir );
         ScmResult result = BazaarUtils.execute( consumer, getLogger(), workingDir, addCmd );
 
-        return wrapResult(consumer.getAddedFiles(), result);
+        return wrapResult( consumer.getAddedFiles(), result );
     }
 
     private AddScmResult wrapResult( List files, ScmResult baseResult )

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/add/BazaarAddConsumer.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/add/BazaarAddConsumer.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/add/BazaarAddConsumer.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/add/BazaarAddConsumer.java Tue Jan 31 02:04:43 2006
@@ -1,15 +1,33 @@
 package org.apache.maven.scm.provider.bazaar.command.add;
 
-import java.io.File;
-import java.util.ArrayList;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmFile;
 import org.apache.maven.scm.ScmFileStatus;
 import org.apache.maven.scm.log.ScmLogger;
 import org.apache.maven.scm.provider.bazaar.command.BazaarConsumer;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarAddConsumer
     extends BazaarConsumer
 {

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/changelog/BazaarChangeLogCommand.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/changelog/BazaarChangeLogCommand.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/changelog/BazaarChangeLogCommand.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/changelog/BazaarChangeLogCommand.java Tue Jan 31 02:04:43 2006
@@ -1,10 +1,20 @@
 package org.apache.maven.scm.provider.bazaar.command.changelog;
 
-import java.util.ArrayList;
-import java.util.Calendar;
-import java.util.Date;
-import java.util.Iterator;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ChangeSet;
 import org.apache.maven.scm.ScmException;
@@ -16,33 +26,45 @@
 import org.apache.maven.scm.provider.bazaar.BazaarUtils;
 import org.apache.maven.scm.provider.bazaar.command.BazaarCommand;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.Iterator;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarChangeLogCommand
     extends AbstractChangeLogCommand
     implements BazaarCommand
 {
     protected ChangeLogScmResult executeChangeLogCommand( ScmProviderRepository repo, ScmFileSet fileSet,
-                                                         Date startDate, Date endDate, int numDays, String branch )
+                                                          Date startDate, Date endDate, int numDays, String branch )
         throws ScmException
     {
-        String[] cmd = new String[] { LOG_CMD, VERBOSE_OPTION };
+        String[] cmd = new String[]{LOG_CMD, VERBOSE_OPTION};
         BazaarChangeLogConsumer consumer = new BazaarChangeLogConsumer( getLogger(), fileSet.getBasedir() );
         ScmResult result = BazaarUtils.execute( consumer, getLogger(), fileSet.getBasedir(), cmd );
 
         List logEntries = consumer.getModifications();
         List inRange = new ArrayList();
-        startDate = startDate == null ? new Date(0) : startDate; //From 1. Jan 1970
+        startDate = startDate == null ? new Date( 0 ) : startDate; //From 1. Jan 1970
         endDate = endDate == null ? new Date() : endDate; //Upto now
-        if (numDays > 0) { //numDays takes precedence to start date
+        if ( numDays > 0 )
+        { //numDays takes precedence to start date
             Calendar rightNow = Calendar.getInstance();
-            rightNow.add(Calendar.DATE, -numDays);
+            rightNow.add( Calendar.DATE, -numDays );
             startDate = rightNow.getTime();
         }
-        for (Iterator it = logEntries.iterator(); it.hasNext(); ) {
-            ChangeSet change = (ChangeSet)it.next();
-            if (startDate != null) {
-                if (!change.getDate().before(startDate) && !change.getDate().after(endDate)) {
-                    inRange.add(change);
+        for ( Iterator it = logEntries.iterator(); it.hasNext(); )
+        {
+            ChangeSet change = (ChangeSet) it.next();
+            if ( startDate != null )
+            {
+                if ( !change.getDate().before( startDate ) && !change.getDate().after( endDate ) )
+                {
+                    inRange.add( change );
                 }
             }
         }

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/changelog/BazaarChangeLogConsumer.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/changelog/BazaarChangeLogConsumer.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/changelog/BazaarChangeLogConsumer.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/changelog/BazaarChangeLogConsumer.java Tue Jan 31 02:04:43 2006
@@ -1,11 +1,20 @@
 package org.apache.maven.scm.provider.bazaar.command.changelog;
 
-import java.io.File;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ChangeFile;
 import org.apache.maven.scm.ChangeSet;
@@ -13,7 +22,16 @@
 import org.apache.maven.scm.log.ScmLogger;
 import org.apache.maven.scm.provider.bazaar.command.BazaarConsumer;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.io.File;
+import java.text.ParseException;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarChangeLogConsumer
     extends BazaarConsumer
 {
@@ -42,7 +60,9 @@
 
     private StringBuffer currentComment;
 
-    /** null means not parsing message nor files, UNKNOWN means parsing message */
+    /**
+     * null means not parsing message nor files, UNKNOWN means parsing message
+     */
     private ScmFileStatus currentStatus = null;
 
     public BazaarChangeLogConsumer( ScmLogger logger, File workingDir )

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkin/BazaarCheckInCommand.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkin/BazaarCheckInCommand.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkin/BazaarCheckInCommand.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkin/BazaarCheckInCommand.java Tue Jan 31 02:04:43 2006
@@ -1,9 +1,20 @@
 package org.apache.maven.scm.provider.bazaar.command.checkin;
 
-import java.io.File;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmException;
 import org.apache.maven.scm.ScmFile;
@@ -21,13 +32,20 @@
 import org.apache.maven.scm.provider.bazaar.repository.BazaarScmProviderRepository;
 import org.codehaus.plexus.util.StringUtils;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.io.File;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarCheckInCommand
     extends AbstractCheckInCommand
 {
 
     protected CheckInScmResult executeCheckInCommand( ScmProviderRepository repo, ScmFileSet fileSet, String message,
-                                                     String tag )
+                                                      String tag )
         throws ScmException
     {
 
@@ -48,8 +66,8 @@
             for ( Iterator it = statusFiles.iterator(); it.hasNext(); )
             {
                 ScmFile file = (ScmFile) it.next();
-                if ( file.getStatus() == ScmFileStatus.ADDED || file.getStatus() == ScmFileStatus.DELETED
-                    || file.getStatus() == ScmFileStatus.MODIFIED )
+                if ( file.getStatus() == ScmFileStatus.ADDED || file.getStatus() == ScmFileStatus.DELETED ||
+                    file.getStatus() == ScmFileStatus.MODIFIED )
                 {
                     commitedFiles.add( new ScmFile( file.getPath(), ScmFileStatus.CHECKED_IN ) );
                 }
@@ -60,12 +78,12 @@
         { //Or commit spesific files
             for ( int i = 0; i < files.length; i++ )
             {
-                commitedFiles.add( new ScmFile(files[i].getPath(), ScmFileStatus.CHECKED_IN) );
+                commitedFiles.add( new ScmFile( files[i].getPath(), ScmFileStatus.CHECKED_IN ) );
             }
         }
 
         // Commit to local branch
-        String[] commitCmd = new String[] { BazaarCommand.COMMIT_CMD, BazaarCommand.MESSAGE_OPTION, message };
+        String[] commitCmd = new String[]{BazaarCommand.COMMIT_CMD, BazaarCommand.MESSAGE_OPTION, message};
         commitCmd = BazaarUtils.expandCommandLine( commitCmd, fileSet );
         BazaarUtils.execute( new BazaarConsumer( getLogger() ), getLogger(), fileSet.getBasedir(), commitCmd );
 
@@ -73,7 +91,7 @@
         BazaarScmProviderRepository repository = (BazaarScmProviderRepository) repo;
         if ( !repository.getURI().equals( fileSet.getBasedir().getAbsolutePath() ) )
         {
-            String[] push_cmd = new String[] { BazaarCommand.PUSH_CMD, repository.getURI() };
+            String[] push_cmd = new String[]{BazaarCommand.PUSH_CMD, repository.getURI()};
             ScmResult result = BazaarUtils.execute( new BazaarConsumer( getLogger() ), getLogger(), fileSet
                 .getBasedir(), push_cmd );
             return wrapResult( commitedFiles, result );

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutCommand.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutCommand.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutCommand.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutCommand.java Tue Jan 31 02:04:43 2006
@@ -1,8 +1,20 @@
 package org.apache.maven.scm.provider.bazaar.command.checkout;
 
-import java.io.File;
-import java.io.IOException;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmException;
 import org.apache.maven.scm.ScmFileSet;
@@ -17,7 +29,13 @@
 import org.codehaus.plexus.util.FileUtils;
 import org.codehaus.plexus.util.StringUtils;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.io.File;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarCheckOutCommand
     extends AbstractCheckOutCommand
     implements BazaarCommand
@@ -47,12 +65,12 @@
         }
 
         // Do the actual checkout
-        String[] checkout_cmd = new String[] { BRANCH_CMD, url, checkoutDir.getAbsolutePath() };
+        String[] checkout_cmd = new String[]{BRANCH_CMD, url, checkoutDir.getAbsolutePath()};
         BazaarConsumer checkout_consumer = new BazaarConsumer( getLogger() );
         BazaarUtils.execute( checkout_consumer, getLogger(), checkoutDir.getParentFile(), checkout_cmd );
 
         // Do inventory to find list of checkedout files
-        String[] inventory_cmd = new String[] { INVENTORY_CMD };
+        String[] inventory_cmd = new String[]{INVENTORY_CMD};
         BazaarCheckOutConsumer consumer = new BazaarCheckOutConsumer( getLogger(), checkoutDir );
         ScmResult result = BazaarUtils.execute( consumer, getLogger(), checkoutDir, inventory_cmd );
 

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutConsumer.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutConsumer.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutConsumer.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutConsumer.java Tue Jan 31 02:04:43 2006
@@ -1,15 +1,33 @@
 package org.apache.maven.scm.provider.bazaar.command.checkout;
 
-import java.io.File;
-import java.util.ArrayList;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmFile;
 import org.apache.maven.scm.ScmFileStatus;
 import org.apache.maven.scm.log.ScmLogger;
 import org.apache.maven.scm.provider.bazaar.command.BazaarConsumer;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarCheckOutConsumer
     extends BazaarConsumer
 {

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/diff/BazaarDiffCommand.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/diff/BazaarDiffCommand.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/diff/BazaarDiffCommand.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/diff/BazaarDiffCommand.java Tue Jan 31 02:04:43 2006
@@ -1,5 +1,21 @@
 package org.apache.maven.scm.provider.bazaar.command.diff;
 
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import org.apache.maven.scm.ScmException;
 import org.apache.maven.scm.ScmFileSet;
 import org.apache.maven.scm.ScmResult;
@@ -10,14 +26,16 @@
 import org.apache.maven.scm.provider.bazaar.command.BazaarCommand;
 import org.codehaus.plexus.util.StringUtils;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarDiffCommand
     extends AbstractDiffCommand
     implements BazaarCommand
 {
 
     protected DiffScmResult executeDiffCommand( ScmProviderRepository repo, ScmFileSet fileSet, String startRevision,
-                                               String endRevision )
+                                                String endRevision )
         throws ScmException
     {
 
@@ -29,11 +47,11 @@
             {
                 revArg += ".." + endRevision;
             }
-            diffCmd = new String[] { DIFF_CMD, REVISION_OPTION, revArg };
+            diffCmd = new String[]{DIFF_CMD, REVISION_OPTION, revArg};
         }
         else
         {
-            diffCmd = new String[] { DIFF_CMD };
+            diffCmd = new String[]{DIFF_CMD};
         }
 
         diffCmd = BazaarUtils.expandCommandLine( diffCmd, fileSet );

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/diff/BazaarDiffConsumer.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/diff/BazaarDiffConsumer.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/diff/BazaarDiffConsumer.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/diff/BazaarDiffConsumer.java Tue Jan 31 02:04:43 2006
@@ -1,17 +1,35 @@
 package org.apache.maven.scm.provider.bazaar.command.diff;
 
-import java.io.File;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmFile;
 import org.apache.maven.scm.ScmFileStatus;
 import org.apache.maven.scm.log.ScmLogger;
 import org.apache.maven.scm.provider.bazaar.command.BazaarConsumer;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.io.File;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarDiffConsumer
     extends BazaarConsumer
 {
@@ -89,9 +107,9 @@
         {
             // ignore (to avoid conflicts with add and remove tokens)
         }
-        else if ( line.startsWith( ADDED_LINE_TOKEN ) || line.startsWith( REMOVED_LINE_TOKEN )
-            || line.startsWith( UNCHANGED_LINE_TOKEN ) || line.startsWith( RANGE_TOKEN )
-            || line.startsWith( NO_NEWLINE_TOKEN ) )
+        else if ( line.startsWith( ADDED_LINE_TOKEN ) || line.startsWith( REMOVED_LINE_TOKEN ) ||
+            line.startsWith( UNCHANGED_LINE_TOKEN ) || line.startsWith( RANGE_TOKEN ) ||
+            line.startsWith( NO_NEWLINE_TOKEN ) )
         {
             currentDifference.append( line ).append( "\n" );
         }

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/remove/BazaarRemoveCommand.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/remove/BazaarRemoveCommand.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/remove/BazaarRemoveCommand.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/remove/BazaarRemoveCommand.java Tue Jan 31 02:04:43 2006
@@ -1,6 +1,20 @@
 package org.apache.maven.scm.provider.bazaar.command.remove;
 
-import java.io.File;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmException;
 import org.apache.maven.scm.ScmFileSet;
@@ -11,7 +25,11 @@
 import org.apache.maven.scm.provider.bazaar.BazaarUtils;
 import org.apache.maven.scm.provider.bazaar.command.BazaarCommand;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.io.File;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarRemoveCommand
     extends AbstractRemoveCommand
     implements BazaarCommand
@@ -20,7 +38,7 @@
         throws ScmException
     {
 
-        String[] command = new String[] { REMOVE_CMD };
+        String[] command = new String[]{REMOVE_CMD};
         BazaarUtils.expandCommandLine( command, fileSet );
         BazaarRemoveConsumer consumer = new BazaarRemoveConsumer( getLogger() );
         File workingDir = fileSet.getBasedir();

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/remove/BazaarRemoveConsumer.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/remove/BazaarRemoveConsumer.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/remove/BazaarRemoveConsumer.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/remove/BazaarRemoveConsumer.java Tue Jan 31 02:04:43 2006
@@ -1,13 +1,31 @@
 package org.apache.maven.scm.provider.bazaar.command.remove;
 
-import java.util.ArrayList;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmFileStatus;
 import org.apache.maven.scm.log.ScmLogger;
 import org.apache.maven.scm.provider.bazaar.command.BazaarConsumer;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarRemoveConsumer
     extends BazaarConsumer
 {

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusCommand.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusCommand.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusCommand.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusCommand.java Tue Jan 31 02:04:43 2006
@@ -1,7 +1,20 @@
 package org.apache.maven.scm.provider.bazaar.command.status;
 
-import java.io.File;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmException;
 import org.apache.maven.scm.ScmFileSet;
@@ -12,13 +25,19 @@
 import org.apache.maven.scm.provider.bazaar.BazaarUtils;
 import org.apache.maven.scm.provider.bazaar.command.BazaarCommand;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.io.File;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarStatusCommand
     extends AbstractStatusCommand
     implements BazaarCommand
 {
 
-    public BazaarStatusCommand() {
+    public BazaarStatusCommand()
+    {
         super();
     }
 
@@ -27,11 +46,11 @@
     {
 
         File workingDir = fileSet.getBasedir();
-        BazaarStatusConsumer consumer = new BazaarStatusConsumer(getLogger(), workingDir);
-        String[] statusCmd = new String[] {STATUS_CMD};
-        ScmResult result = BazaarUtils.execute(consumer, getLogger(), workingDir, statusCmd);
+        BazaarStatusConsumer consumer = new BazaarStatusConsumer( getLogger(), workingDir );
+        String[] statusCmd = new String[]{STATUS_CMD};
+        ScmResult result = BazaarUtils.execute( consumer, getLogger(), workingDir, statusCmd );
 
-        return wrapResult(consumer.getStatus(), result);
+        return wrapResult( consumer.getStatus(), result );
     }
 
     private StatusScmResult wrapResult( List files, ScmResult baseResult )

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusConsumer.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusConsumer.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusConsumer.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusConsumer.java Tue Jan 31 02:04:43 2006
@@ -1,15 +1,33 @@
 package org.apache.maven.scm.provider.bazaar.command.status;
 
-import java.io.File;
-import java.util.ArrayList;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmFile;
 import org.apache.maven.scm.ScmFileStatus;
 import org.apache.maven.scm.log.ScmLogger;
 import org.apache.maven.scm.provider.bazaar.command.BazaarConsumer;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 class BazaarStatusConsumer
     extends BazaarConsumer
 {
@@ -17,7 +35,9 @@
 
     private final File workingDir;
 
-    /** State currently consuming (one of the identifieres or null) */
+    /**
+     * State currently consuming (one of the identifieres or null)
+     */
     private ScmFileStatus currentState = null;
 
     BazaarStatusConsumer( ScmLogger logger, File workingDir )

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/update/BazaarUpdateCommand.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/update/BazaarUpdateCommand.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/update/BazaarUpdateCommand.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/command/update/BazaarUpdateCommand.java Tue Jan 31 02:04:43 2006
@@ -1,9 +1,20 @@
 package org.apache.maven.scm.provider.bazaar.command.update;
 
-import java.io.File;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmException;
 import org.apache.maven.scm.ScmFile;
@@ -21,7 +32,14 @@
 import org.apache.maven.scm.provider.bazaar.command.diff.BazaarDiffConsumer;
 import org.codehaus.plexus.util.StringUtils;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.io.File;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarUpdateCommand
     extends AbstractUpdateCommand
     implements BazaarCommand
@@ -39,9 +57,9 @@
         File workingDir = fileSet.getBasedir();
 
         // Update branch
-        String[] update_cmd = new String[] { BazaarCommand.PULL_CMD };
-        ScmResult updateResult = BazaarUtils.execute( new BazaarConsumer( getLogger() ), getLogger(), workingDir,
-                                                      update_cmd );
+        String[] update_cmd = new String[]{BazaarCommand.PULL_CMD};
+        ScmResult updateResult =
+            BazaarUtils.execute( new BazaarConsumer( getLogger() ), getLogger(), workingDir, update_cmd );
 
         if ( !updateResult.isSuccess() )
         {
@@ -50,7 +68,7 @@
 
         // Find changes from last revision
         int prev_revi = BazaarUtils.getCurrentRevisionNumber( getLogger(), workingDir ) - 1;
-        String[] diff_cmd = new String[] { DIFF_CMD, REVISION_OPTION, "" + prev_revi };
+        String[] diff_cmd = new String[]{DIFF_CMD, REVISION_OPTION, "" + prev_revi};
         BazaarDiffConsumer diff_consumer = new BazaarDiffConsumer( getLogger(), workingDir );
         ScmResult diffResult = BazaarUtils.execute( diff_consumer, getLogger(), workingDir, diff_cmd );
 

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/repository/BazaarScmProviderRepository.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/repository/BazaarScmProviderRepository.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/repository/BazaarScmProviderRepository.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/main/java/org/apache/maven/scm/provider/bazaar/repository/BazaarScmProviderRepository.java Tue Jan 31 02:04:43 2006
@@ -1,11 +1,29 @@
 package org.apache.maven.scm.provider.bazaar.repository;
 
-import java.io.File;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.provider.ScmProviderRepository;
 import org.codehaus.plexus.util.StringUtils;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+import java.io.File;
+
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarScmProviderRepository
     extends ScmProviderRepository
 {

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/BazaarTestUtils.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/BazaarTestUtils.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/BazaarTestUtils.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/BazaarTestUtils.java Tue Jan 31 02:04:43 2006
@@ -1,14 +1,30 @@
 package org.apache.maven.scm.provider.bazaar;
 
-import java.io.File;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 import org.apache.maven.scm.ScmFileSet;
 import org.apache.maven.scm.provider.bazaar.command.BazaarCommand;
 import org.codehaus.plexus.util.FileUtils;
 
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+
 /**
  * Common code used in all tests.
  *
@@ -17,17 +33,14 @@
 public class BazaarTestUtils
 {
 
-    public static final String[] filesInTestBranch = new String[] {
-        "pom.xml",
-        "readme.txt",
-        "src/main/java/Application.java",
-        "src/test/java/Test.java" };
+    public static final String[] filesInTestBranch =
+        new String[]{"pom.xml", "readme.txt", "src/main/java/Application.java", "src/test/java/Test.java"};
 
     public static final String TCK_FILE_CONSTANT = "/";
 
     public static final String BRANCH_NAME = "target" + File.separator + "test-branch";
 
-    public static final File WORKING_DIR = new File(BRANCH_NAME);
+    public static final File WORKING_DIR = new File( BRANCH_NAME );
 
     public static final String COMMIT_MESSAGE = "Add files to test branch";
 
@@ -52,7 +65,7 @@
         }
 
         // Init repository
-        String[] init_cmd = new String[] { BazaarCommand.INIT_CMD };
+        String[] init_cmd = new String[]{BazaarCommand.INIT_CMD};
         BazaarUtils.execute( WORKING_DIR, init_cmd );
 
         // Create and add files to repository
@@ -72,18 +85,17 @@
 
             FileUtils.fileWrite( file.getAbsolutePath(), TCK_FILE_CONSTANT + filesInTestBranch[i] );
 
-            files.add(file);
+            files.add( file );
         }
 
         //Add to repository
-        String[] add_cmd = new String[] { BazaarCommand.ADD_CMD };
-        ScmFileSet filesToAdd = new ScmFileSet(new File(""), (File[])files.toArray(new File[0]));
-        add_cmd = BazaarUtils.expandCommandLine(add_cmd, filesToAdd);
+        String[] add_cmd = new String[]{BazaarCommand.ADD_CMD};
+        ScmFileSet filesToAdd = new ScmFileSet( new File( "" ), (File[]) files.toArray( new File[0] ) );
+        add_cmd = BazaarUtils.expandCommandLine( add_cmd, filesToAdd );
         BazaarUtils.execute( WORKING_DIR, add_cmd );
 
         // Commit the initial repository
-        String[] commit_cmd = new String[] { BazaarCommand.COMMIT_CMD,
-                BazaarCommand.MESSAGE_OPTION, COMMIT_MESSAGE };
+        String[] commit_cmd = new String[]{BazaarCommand.COMMIT_CMD, BazaarCommand.MESSAGE_OPTION, COMMIT_MESSAGE};
         BazaarUtils.execute( WORKING_DIR, commit_cmd );
     }
 }

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/checkin/BazaarCheckInCommandTest.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/checkin/BazaarCheckInCommandTest.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/checkin/BazaarCheckInCommandTest.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/checkin/BazaarCheckInCommandTest.java Tue Jan 31 02:04:43 2006
@@ -1,9 +1,27 @@
 package org.apache.maven.scm.provider.bazaar.command.checkin;
 
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import org.apache.maven.scm.provider.bazaar.BazaarTestUtils;
 import org.apache.maven.scm.tck.command.checkin.CheckInCommandTckTest;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarCheckInCommandTest
     extends CheckInCommandTckTest
 {

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutCommandTest.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutCommandTest.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutCommandTest.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/checkout/BazaarCheckOutCommandTest.java Tue Jan 31 02:04:43 2006
@@ -1,9 +1,27 @@
 package org.apache.maven.scm.provider.bazaar.command.checkout;
 
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import org.apache.maven.scm.provider.bazaar.BazaarTestUtils;
 import org.apache.maven.scm.tck.command.checkout.CheckOutCommandTckTest;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarCheckOutCommandTest
     extends CheckOutCommandTckTest
 {

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusCommandTest.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusCommandTest.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusCommandTest.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/status/BazaarStatusCommandTest.java Tue Jan 31 02:04:43 2006
@@ -1,9 +1,27 @@
 package org.apache.maven.scm.provider.bazaar.command.status;
 
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import org.apache.maven.scm.provider.bazaar.BazaarTestUtils;
 import org.apache.maven.scm.tck.command.status.StatusCommandTckTest;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarStatusCommandTest
     extends StatusCommandTckTest
 {

Modified: maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/update/BazaarUpdateCommandTest.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/update/BazaarUpdateCommandTest.java?rev=373785&r1=373784&r2=373785&view=diff
==============================================================================
--- maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/update/BazaarUpdateCommandTest.java (original)
+++ maven/scm/trunk/sandbox/maven-scm-provider-bazaar/src/test/java/org/apache/maven/scm/provider/bazaar/command/update/BazaarUpdateCommandTest.java Tue Jan 31 02:04:43 2006
@@ -1,9 +1,27 @@
 package org.apache.maven.scm.provider.bazaar.command.update;
 
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import org.apache.maven.scm.provider.bazaar.BazaarTestUtils;
 import org.apache.maven.scm.tck.command.update.UpdateCommandTckTest;
 
-/** @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a> */
+/**
+ * @author <a href="mailto:torbjorn@smorgrav.org">Torbjørn Eikli Smørgrav</a>
+ */
 public class BazaarUpdateCommandTest
     extends UpdateCommandTckTest
 {



Mime
View raw message