You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2008/09/03 14:58:40 UTC
svn commit: r691595 - in
/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src:
main/java/org/apache/maven/scm/provider/svn/svnjava/
main/java/org/apache/maven/scm/provider/svn/svnjava/command/add/
main/java/org/apache/maven/scm/provider/svn/svnjava/...
Author: vsiveton
Date: Wed Sep 3 05:58:38 2008
New Revision: 691595
URL: http://svn.apache.org/viewvc?rev=691595&view=rev
Log:
o fixed license header
o formatting
o no code change
Modified:
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/SvnJavaScmProvider.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/add/SvnAddCommand.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/changelog/SvnChangeLogCommand.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/checkin/SvnCheckInCommand.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/checkout/SvnCheckOutCommand.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/diff/SvnDiffCommand.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/remove/SvnRemoveCommand.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/status/SvnStatusCommand.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/tag/SvnTagCommand.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/update/SvnUpdateCommand.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/repository/SvnJavaScmProviderRepository.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/ScmFileEventHandler.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/SvnJavaUtil.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/SvnStatusHandler.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/checkin/SvnJavaCheckInCommandTckTest.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/checkout/SvnJavaCheckOutCommandTckTest.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/diff/SvnJavaDiffCommandTckTest.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/status/SvnJavaStatusCommandTckTest.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/tag/SvnJavaTagCommandTckTest.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/update/SvnJavaUpdateCommandTckTest.java
maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/repository/SvnScmProviderRepositoryTest.java
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/SvnJavaScmProvider.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/SvnJavaScmProvider.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/SvnJavaScmProvider.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/SvnJavaScmProvider.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
@@ -66,7 +69,7 @@
{
try
{
- f = new File( new URI(scmSpecificUrl));
+ f = new File( new URI( scmSpecificUrl ) );
}
catch ( Exception e )
{
@@ -227,8 +230,7 @@
* for file
* TODO activate it when a new release of javasvn will be available, so we'll can run TCK tests
*/
- //FSRepositoryFactory.setup();
-
+ // FSRepositoryFactory.setup();
initialized = true;
}
}
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/add/SvnAddCommand.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/add/SvnAddCommand.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/add/SvnAddCommand.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/add/SvnAddCommand.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.add;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/changelog/SvnChangeLogCommand.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/changelog/SvnChangeLogCommand.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/changelog/SvnChangeLogCommand.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/changelog/SvnChangeLogCommand.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.changelog;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
@@ -68,7 +71,8 @@
{
SvnJavaScmProviderRepository javaRepo = (SvnJavaScmProviderRepository) repo;
- SVNRevision startRevision = ( startDate != null ) ? SVNRevision.create( startDate ) : SVNRevision.UNDEFINED;
+ SVNRevision startRevision =
+ ( startDate != null ) ? SVNRevision.create( startDate ) : SVNRevision.UNDEFINED;
SVNRevision endRevision = ( endDate != null ) ? SVNRevision.create( endDate ) : SVNRevision.HEAD;
try
@@ -90,8 +94,8 @@
}
catch ( SVNException e )
{
- return new ChangeLogScmResult( SvnJavaScmProvider.COMMAND_LINE, "SVN Changelog failed.", e.getMessage(),
- false );
+ return new ChangeLogScmResult( SvnJavaScmProvider.COMMAND_LINE, "SVN Changelog failed.",
+ e.getMessage(), false );
}
}
@@ -121,8 +125,8 @@
changedFiles.add( new ChangeFile( (String) i.next() ) );
}
- changeSets.add(
- new SvnChangeSet( logEntry.getDate(), logEntry.getMessage(), logEntry.getAuthor(), changedFiles ) );
+ changeSets.add( new SvnChangeSet( logEntry.getDate(), logEntry.getMessage(), logEntry.getAuthor(),
+ changedFiles ) );
}
public ChangeLogSet getChangeSets()
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/checkin/SvnCheckInCommand.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/checkin/SvnCheckInCommand.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/checkin/SvnCheckInCommand.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/checkin/SvnCheckInCommand.java Wed Sep 3 05:58:38 2008
@@ -1,21 +1,23 @@
package org.apache.maven.scm.provider.svn.svnjava.command.checkin;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
import org.apache.maven.scm.ScmFileSet;
@@ -48,8 +50,8 @@
implements SvnCommand
{
/** {@inheritDoc} */
- protected CheckInScmResult executeCheckInCommand( ScmProviderRepository repo, ScmFileSet fileSet, String message,
- ScmVersion tag )
+ protected CheckInScmResult executeCheckInCommand( ScmProviderRepository repo, ScmFileSet fileSet,
+ String message, ScmVersion tag )
throws ScmException
{
getLogger().info( "SVN commit directory: " + fileSet.getBasedir().getAbsolutePath() );
@@ -66,7 +68,7 @@
File[] paths;
if ( tmpPaths == null || tmpPaths.length == 0 )
{
- paths = new File[]{fileSet.getBasedir()};
+ paths = new File[] { fileSet.getBasedir() };
}
else
{
@@ -90,9 +92,9 @@
for ( Iterator iter = handler.getEvents().iterator(); iter.hasNext(); )
{
SVNEvent event = (SVNEvent) iter.next();
- if ( event.getExpectedAction() != SVNEventAction.COMMIT_COMPLETED &&
- event.getExpectedAction() != SVNEventAction.COMMIT_DELTA_SENT &&
- event.getNodeKind() == SVNNodeKind.FILE )
+ if ( event.getExpectedAction() != SVNEventAction.COMMIT_COMPLETED
+ && event.getExpectedAction() != SVNEventAction.COMMIT_DELTA_SENT
+ && event.getNodeKind() == SVNNodeKind.FILE )
{
files.add( new ScmFile( event.getFile().toString(), ScmFileStatus.CHECKED_IN ) );
}
@@ -102,7 +104,8 @@
}
catch ( SVNException e )
{
- return new CheckInScmResult( SvnJavaScmProvider.COMMAND_LINE, "SVN commit failed.", e.getMessage(), false );
+ return new CheckInScmResult( SvnJavaScmProvider.COMMAND_LINE, "SVN commit failed.", e.getMessage(),
+ false );
}
finally
{
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/checkout/SvnCheckOutCommand.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/checkout/SvnCheckOutCommand.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/checkout/SvnCheckOutCommand.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/checkout/SvnCheckOutCommand.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.checkout;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
@@ -43,7 +46,8 @@
implements SvnCommand
{
/** {@inheritDoc} */
- protected CheckOutScmResult executeCheckOutCommand( ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion tag, boolean recursive )
+ protected CheckOutScmResult executeCheckOutCommand( ScmProviderRepository repo, ScmFileSet fileSet,
+ ScmVersion tag, boolean recursive )
throws ScmException
{
getLogger().info( "SVN checkout directory: " + fileSet.getBasedir().getAbsolutePath() );
@@ -64,8 +68,8 @@
try
{
- SvnJavaUtil.checkout( javaRepo.getClientManager(), SVNURL.parseURIEncoded( url ), SVNRevision.HEAD, fileSet
- .getBasedir(), true );
+ SvnJavaUtil.checkout( javaRepo.getClientManager(), SVNURL.parseURIEncoded( url ), SVNRevision.HEAD,
+ fileSet.getBasedir(), true );
return new CheckOutScmResult( SvnJavaScmProvider.COMMAND_LINE, handler.getFiles() );
}
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/diff/SvnDiffCommand.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/diff/SvnDiffCommand.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/diff/SvnDiffCommand.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/diff/SvnDiffCommand.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.diff;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
@@ -60,8 +63,10 @@
{
javaRepo.getClientManager().getDiffClient().setEventHandler( handler );
- SVNRevision start = ( startRevision == null ) ? SVNRevision.COMMITTED : SVNRevision.parse( startRevision.getName() );
- SVNRevision end = ( endRevision == null ) ? SVNRevision.WORKING : SVNRevision.parse( endRevision.getName() );
+ SVNRevision start =
+ ( startRevision == null ) ? SVNRevision.COMMITTED : SVNRevision.parse( startRevision.getName() );
+ SVNRevision end =
+ ( endRevision == null ) ? SVNRevision.WORKING : SVNRevision.parse( endRevision.getName() );
ByteArrayOutputStream out =
SvnJavaUtil.diff( javaRepo.getClientManager(), fileSet.getBasedir(), start, end );
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/remove/SvnRemoveCommand.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/remove/SvnRemoveCommand.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/remove/SvnRemoveCommand.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/remove/SvnRemoveCommand.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.remove;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
@@ -62,7 +65,8 @@
}
catch ( SVNException e )
{
- return new RemoveScmResult( SvnJavaScmProvider.COMMAND_LINE, "SVN remove failed.", e.getMessage(), false );
+ return new RemoveScmResult( SvnJavaScmProvider.COMMAND_LINE, "SVN remove failed.", e.getMessage(),
+ false );
}
finally
{
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/status/SvnStatusCommand.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/status/SvnStatusCommand.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/status/SvnStatusCommand.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/status/SvnStatusCommand.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.status;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
@@ -56,7 +59,8 @@
}
catch ( SVNException e )
{
- return new StatusScmResult( SvnJavaScmProvider.COMMAND_LINE, "SVN status failed.", e.getMessage(), false );
+ return new StatusScmResult( SvnJavaScmProvider.COMMAND_LINE, "SVN status failed.", e.getMessage(),
+ false );
}
}
}
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/tag/SvnTagCommand.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/tag/SvnTagCommand.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/tag/SvnTagCommand.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/tag/SvnTagCommand.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.tag;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
@@ -74,10 +77,12 @@
try
{
- SVNURL destURL = SVNURL.parseURIEncoded( SvnTagBranchUtils.resolveTagUrl( repository, new ScmTag( tag ) ) );
+ SVNURL destURL =
+ SVNURL.parseURIEncoded( SvnTagBranchUtils.resolveTagUrl( repository, new ScmTag( tag ) ) );
- SVNCommitInfo info = SvnJavaUtil.copy( javaRepo.getClientManager(), javaRepo.getSvnUrl(), destURL, false,
- "[maven-scm] copy for tag " + tag );
+ SVNCommitInfo info =
+ SvnJavaUtil.copy( javaRepo.getClientManager(), javaRepo.getSvnUrl(), destURL, false,
+ "[maven-scm] copy for tag " + tag );
if ( info.getError() != null )
{
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/update/SvnUpdateCommand.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/update/SvnUpdateCommand.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/update/SvnUpdateCommand.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/command/update/SvnUpdateCommand.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.update;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
@@ -62,14 +65,20 @@
if ( tag == null || SvnTagBranchUtils.isRevisionSpecifier( tag ) )
{
- SvnJavaUtil.update( javaRepo.getClientManager(), fileSet.getBasedir(), SVNRevision.parse( tag.getName() ), true );
+ SvnJavaUtil.update( javaRepo.getClientManager(), fileSet.getBasedir(),
+ SVNRevision.parse( tag.getName() ), true );
}
else
{
// The tag specified does not appear to be numeric, so assume it refers
// to a branch/tag url and perform a switch operation rather than update
- SvnJavaUtil.switchToURL( javaRepo.getClientManager(), fileSet.getBasedir(),
- SVNURL.parseURIEncoded( SvnTagBranchUtils.resolveTagUrl( repository, new ScmTag( tag.getName() ) ) ),
+ SvnJavaUtil.switchToURL(
+ javaRepo.getClientManager(),
+ fileSet.getBasedir(),
+ SVNURL.parseURIEncoded( SvnTagBranchUtils.resolveTagUrl(
+ repository,
+ new ScmTag(
+ tag.getName() ) ) ),
SVNRevision.HEAD, true );
}
@@ -77,7 +86,8 @@
}
catch ( SVNException e )
{
- return new UpdateScmResult( SvnJavaScmProvider.COMMAND_LINE, "SVN update failed.", e.getMessage(), false );
+ return new UpdateScmResult( SvnJavaScmProvider.COMMAND_LINE, "SVN update failed.", e.getMessage(),
+ false );
}
finally
{
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/repository/SvnJavaScmProviderRepository.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/repository/SvnJavaScmProviderRepository.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/repository/SvnJavaScmProviderRepository.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/repository/SvnJavaScmProviderRepository.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.repository;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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.svn.repository.SvnScmProviderRepository;
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/ScmFileEventHandler.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/ScmFileEventHandler.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/ScmFileEventHandler.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/ScmFileEventHandler.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.util;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
@@ -67,24 +70,25 @@
ScmFileStatus status = SvnJavaUtil.getScmFileStatus( event.getExpectedAction() );
// Do nothing for events without files
- if ( event.getFile() == null || event.getExpectedAction() == SVNEventAction.COMMIT_DELTA_SENT ||
- event.getExpectedAction() == SVNEventAction.COMMIT_COMPLETED || event.getNodeKind() != SVNNodeKind.FILE )
+ if ( event.getFile() == null || event.getExpectedAction() == SVNEventAction.COMMIT_DELTA_SENT
+ || event.getExpectedAction() == SVNEventAction.COMMIT_COMPLETED
+ || event.getNodeKind() != SVNNodeKind.FILE )
{
return;
}
if ( status == null )
{
- logger.info( "Unknown SVN file status: '" + event.getExpectedAction() + "' for file: " +
- event.getFile().getAbsolutePath() );
+ logger.info( "Unknown SVN file status: '" + event.getExpectedAction() + "' for file: "
+ + event.getFile().getAbsolutePath() );
status = ScmFileStatus.UNKNOWN;
}
if ( logger.isDebugEnabled() )
{
- logger.debug( StringUtils.defaultString( status, event.getContentsStatus().toString() ) + " - " +
- event.getFile().getAbsolutePath() );
+ logger.debug( StringUtils.defaultString( status, event.getContentsStatus().toString() ) + " - "
+ + event.getFile().getAbsolutePath() );
}
String currentFile = event.getFile().getAbsolutePath();
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/SvnJavaUtil.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/SvnJavaUtil.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/SvnJavaUtil.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/SvnJavaUtil.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.util;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
@@ -80,7 +83,7 @@
{
return ScmFileStatus.ADDED;
}
- //else if ( action == SVNEventAction.COMMIT_COMPLETED )
+ // else if ( action == SVNEventAction.COMMIT_COMPLETED )
else if ( action == SVNEventAction.COMMIT_DELETED )
{
return ScmFileStatus.DELETED;
@@ -90,10 +93,10 @@
// Denotes that the deleted item is restored (prior to be updated).
return ScmFileStatus.UPDATED;
}
-// else if ( action == SVNEventAction.COMMIT_DELTA_SENT )
-// {
-// return ScmFileStatus.MODIFIED;
-// }
+ // else if ( action == SVNEventAction.COMMIT_DELTA_SENT )
+ // {
+ // return ScmFileStatus.MODIFIED;
+ // }
else if ( action == SVNEventAction.COMMIT_REPLACED )
{
return ScmFileStatus.CHECKED_IN;
@@ -135,9 +138,9 @@
public static void add( SVNClientManager clientManager, File wcPath, boolean recursive )
throws SVNException
{
- clientManager.getWCClient().doAdd( wcPath, false, // force
- false, // mkdir
- false, // climbUnversionedParents
+ clientManager.getWCClient().doAdd( wcPath, false, // force
+ false, // mkdir
+ false, // climbUnversionedParents
recursive );
}
@@ -173,7 +176,7 @@
*/
updateClient.setIgnoreExternals( false );
/*
- * returns the number of the revision at which the working copy is
+ * returns the number of the revision at which the working copy is
*/
return updateClient.doCheckout( url, destPath, revision, revision, isRecursive );
}
@@ -280,8 +283,8 @@
throws SVNException
{
/*
- * Returns SVNCommitInfo containing information on the new revision committed
- * (revision number, etc.)
+ * Returns SVNCommitInfo containing information on the new revision committed
+ * (revision number, etc.)
*/
return clientManager.getCommitClient().doCommit( paths, keepLocks, commitMessage, false, recursive );
}
@@ -386,30 +389,31 @@
* commitMessage - a commit log message since URL->URL copying is immediately
* committed to a repository.
*/
- public static SVNCommitInfo copy( SVNClientManager clientManager, SVNURL srcURL, SVNURL dstURL, boolean isMove,
- String commitMessage )
+ public static SVNCommitInfo copy( SVNClientManager clientManager, SVNURL srcURL, SVNURL dstURL,
+ boolean isMove, String commitMessage )
throws SVNException
{
/*
* SVNRevision.HEAD means the latest revision.
- * Returns SVNCommitInfo containing information on the new revision committed
- * (revision number, etc.)
+ * Returns SVNCommitInfo containing information on the new revision committed
+ * (revision number, etc.)
*/
return clientManager.getCopyClient().doCopy( srcURL, SVNRevision.HEAD, dstURL, isMove, commitMessage );
}
- public static ByteArrayOutputStream diff( SVNClientManager clientManager, File baseDir, SVNRevision startRevision,
- SVNRevision endRevision )
+ public static ByteArrayOutputStream diff( SVNClientManager clientManager, File baseDir,
+ SVNRevision startRevision, SVNRevision endRevision )
throws SVNException
{
ByteArrayOutputStream result = new ByteArrayOutputStream();
/*
* SVNRevision.HEAD means the latest revision.
- * Returns SVNCommitInfo containing information on the new revision committed
- * (revision number, etc.)
+ * Returns SVNCommitInfo containing information on the new revision committed
+ * (revision number, etc.)
*/
- clientManager.getDiffClient().doDiff( baseDir, startRevision, startRevision, endRevision, true, true, result );
+ clientManager.getDiffClient().doDiff( baseDir, startRevision, startRevision, endRevision, true, true,
+ result );
return result;
}
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/SvnStatusHandler.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/SvnStatusHandler.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/SvnStatusHandler.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/main/java/org/apache/maven/scm/provider/svn/svnjava/util/SvnStatusHandler.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.util;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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;
@@ -56,9 +59,9 @@
*/
public void handleStatus( SVNStatus status )
{
- /* Gets the status of file/directory/symbolic link text contents.
- * It is SVNStatusType who contains information on the state of an
- * item.
+ /* Gets the status of file/directory/symbolic link text contents.
+ * It is SVNStatusType who contains information on the state of an
+ * item.
*/
SVNStatusType contentsStatus = status.getContentsStatus();
@@ -74,7 +77,7 @@
}
else if ( contentsStatus == SVNStatusType.STATUS_MERGED )
{
- /* The file item was merGed (changes that came from the repository
+ /* The file item was merGed (changes that came from the repository
* did not overlap local changes and were merged into the file).
* "G"
*/
@@ -82,7 +85,7 @@
}
else if ( contentsStatus == SVNStatusType.STATUS_DELETED )
{
- /* The file, directory or symbolic link item has been scheduled for
+ /* The file, directory or symbolic link item has been scheduled for
* Deletion from the repository.
* "D"
*/
@@ -90,7 +93,7 @@
}
else if ( contentsStatus == SVNStatusType.STATUS_ADDED )
{
- /* The file, directory or symbolic link item has been scheduled for
+ /* The file, directory or symbolic link item has been scheduled for
* Addition to the repository.
* "A"
*/
@@ -98,7 +101,7 @@
}
else if ( contentsStatus == SVNStatusType.STATUS_UNVERSIONED )
{
- /* The file, directory or symbolic link item is not under version
+ /* The file, directory or symbolic link item is not under version
* control.
* "?"
*/
@@ -113,47 +116,48 @@
}
else if ( contentsStatus == SVNStatusType.STATUS_IGNORED )
{
- /* The file, directory or symbolic link item is not under version
- * control, and is configured to be Ignored during 'add', 'import'
- * and 'status' operations.
+ /* The file, directory or symbolic link item is not under version
+ * control, and is configured to be Ignored during 'add', 'import'
+ * and 'status' operations.
* "I"
*/
// We don't care about files that are ignored.
scmStatus = null;
}
- else if ( contentsStatus == SVNStatusType.STATUS_MISSING || contentsStatus == SVNStatusType.STATUS_INCOMPLETE )
+ else if ( contentsStatus == SVNStatusType.STATUS_MISSING
+ || contentsStatus == SVNStatusType.STATUS_INCOMPLETE )
{
- /* The file, directory or symbolic link item is under version
- * control but is missing or somehow incomplete. The item can be
- * missing if it is removed using a command incompatible with the
- * native Subversion command line client (for example, just removed
- * from the filesystem). In the case the item is a directory, it
- * can be incomplete if the user happened to interrupt a checkout
+ /* The file, directory or symbolic link item is under version
+ * control but is missing or somehow incomplete. The item can be
+ * missing if it is removed using a command incompatible with the
+ * native Subversion command line client (for example, just removed
+ * from the filesystem). In the case the item is a directory, it
+ * can be incomplete if the user happened to interrupt a checkout
* or update.
* "!"
*/
- // TODO: This isn't the right status here. ScmFileStatus doesn't have an error.
+ // TODO: This isn't the right status here. ScmFileStatus doesn't have an error.
scmStatus = ScmFileStatus.UNKNOWN;
}
else if ( contentsStatus == SVNStatusType.STATUS_OBSTRUCTED )
{
- /* The file, directory or symbolic link item is in the repository
- * as one kind of object, but what's actually in the user's working
- * copy is some other kind. For example, Subversion might have a
- * file in the repository, but the user removed the file and
- * created a directory in its place, without using the 'svn delete'
+ /* The file, directory or symbolic link item is in the repository
+ * as one kind of object, but what's actually in the user's working
+ * copy is some other kind. For example, Subversion might have a
+ * file in the repository, but the user removed the file and
+ * created a directory in its place, without using the 'svn delete'
* or 'svn add' command (or JavaSVN analogues for them).
* "~"
*/
- // TODO: This isn't the right status here. ScmFileStatus doesn't have an error.
+ // TODO: This isn't the right status here. ScmFileStatus doesn't have an error.
scmStatus = ScmFileStatus.CONFLICT;
}
else if ( contentsStatus == SVNStatusType.STATUS_REPLACED )
{
- /* The file, directory or symbolic link item was Replaced in the
- * user's working copy; that is, the item was deleted, and a new
- * item with the same name was added (within a single revision).
- * While they may have the same name, the repository considers them
+ /* The file, directory or symbolic link item was Replaced in the
+ * user's working copy; that is, the item was deleted, and a new
+ * item with the same name was added (within a single revision).
+ * While they may have the same name, the repository considers them
* to be distinct objects with distinct histories.
* "R"
*/
@@ -170,7 +174,7 @@
}
/*
- * Now getting the status of properties of an item. SVNStatusType also
+ * Now getting the status of properties of an item. SVNStatusType also
* contains information on the properties state.
*/
SVNStatusType propertiesStatus = status.getPropertiesStatus();
@@ -202,7 +206,7 @@
}
/*
- * This is an implementation for
+ * This is an implementation for
* ISVNEventHandler.handleEvent(SVNEvent event, double progress)
*/
public void handleEvent( SVNEvent event, double progress )
@@ -211,8 +215,8 @@
}
/*
- * Should be implemented to check if the current operation is cancelled. If
- * it is, this method should throw an SVNCancelException.
+ * Should be implemented to check if the current operation is cancelled. If
+ * it is, this method should throw an SVNCancelException.
*/
public void checkCancelled()
throws SVNCancelException
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/checkin/SvnJavaCheckInCommandTckTest.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/checkin/SvnJavaCheckInCommandTckTest.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/checkin/SvnJavaCheckInCommandTckTest.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/checkin/SvnJavaCheckInCommandTckTest.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.checkin;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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.svn.command.checkin.SvnCheckInCommandTckTest;
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/checkout/SvnJavaCheckOutCommandTckTest.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/checkout/SvnJavaCheckOutCommandTckTest.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/checkout/SvnJavaCheckOutCommandTckTest.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/checkout/SvnJavaCheckOutCommandTckTest.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.checkout;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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.svn.command.checkout.SvnCheckOutCommandTckTest;
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/diff/SvnJavaDiffCommandTckTest.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/diff/SvnJavaDiffCommandTckTest.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/diff/SvnJavaDiffCommandTckTest.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/diff/SvnJavaDiffCommandTckTest.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.diff;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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.svn.command.diff.SvnDiffCommandTckTest;
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/status/SvnJavaStatusCommandTckTest.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/status/SvnJavaStatusCommandTckTest.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/status/SvnJavaStatusCommandTckTest.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/status/SvnJavaStatusCommandTckTest.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.status;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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.svn.command.status.SvnStatusCommandTckTest;
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/tag/SvnJavaTagCommandTckTest.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/tag/SvnJavaTagCommandTckTest.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/tag/SvnJavaTagCommandTckTest.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/tag/SvnJavaTagCommandTckTest.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.tag;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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.svn.command.tag.SvnTagCommandTckTest;
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/update/SvnJavaUpdateCommandTckTest.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/update/SvnJavaUpdateCommandTckTest.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/update/SvnJavaUpdateCommandTckTest.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/command/update/SvnJavaUpdateCommandTckTest.java Wed Sep 3 05:58:38 2008
@@ -1,19 +1,22 @@
package org.apache.maven.scm.provider.svn.svnjava.command.update;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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.svn.command.update.SvnUpdateCommandTckTest;
Modified: maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/repository/SvnScmProviderRepositoryTest.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/repository/SvnScmProviderRepositoryTest.java?rev=691595&r1=691594&r2=691595&view=diff
==============================================================================
--- maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/repository/SvnScmProviderRepositoryTest.java (original)
+++ maven/sandbox/trunk/scm/maven-scm-provider-svnjava/src/test/java/org/apache/maven/scm/provider/svn/svnjava/repository/SvnScmProviderRepositoryTest.java Wed Sep 3 05:58:38 2008
@@ -1,24 +1,26 @@
package org.apache.maven.scm.provider.svn.svnjava.repository;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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
*
- * 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.
+ * 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.ScmTestCase;
import org.apache.maven.scm.manager.ScmManager;
-import org.apache.maven.scm.provider.ScmProvider;
import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
import org.apache.maven.scm.provider.svn.svnjava.SvnJavaScmProvider;
import org.apache.maven.scm.repository.ScmRepository;
@@ -101,7 +103,8 @@
{
// This is a change from the command line svn implementation. JavaSVN will strip the username
// from the url because it is not needed.
- testUrl( "scm:javasvn:svn+ssh://username@subversion.tigris.org", "svn+ssh://subversion.tigris.org", "username" );
+ testUrl( "scm:javasvn:svn+ssh://username@subversion.tigris.org", "svn+ssh://subversion.tigris.org",
+ "username" );
}
// ----------------------------------------------------------------------
@@ -142,7 +145,8 @@
assertTrue( "The SCM Repository isn't a " + SvnScmProviderRepository.class.getName() + ".",
repository.getProviderRepository() instanceof SvnScmProviderRepository );
- SvnScmProviderRepository providerRepository = (SvnScmProviderRepository) repository.getProviderRepository();
+ SvnScmProviderRepository providerRepository =
+ (SvnScmProviderRepository) repository.getProviderRepository();
assertEquals( "url is incorrect", expectedUrl, providerRepository.getUrl() );