commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1156988 - in /commons/proper/vfs/trunk: core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java pom.xml
Date Fri, 12 Aug 2011 07:14:57 GMT
Author: rgoers
Date: Fri Aug 12 07:14:56 2011
New Revision: 1156988

URL: http://svn.apache.org/viewvc?rev=1156988&view=rev
Log:
Upgrade checkstyle plugin verison. Fix error found by Findbugs

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
    commons/proper/vfs/trunk/pom.xml

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java?rev=1156988&r1=1156987&r2=1156988&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
Fri Aug 12 07:14:56 2011
@@ -306,7 +306,7 @@ public class WebdavFileObject extends Ht
             while (iter2.hasNext())
             {
                 DavProperty property = iter2.next();
-                if (!attributes.containsKey(property.getName()))
+                if (!attributes.containsKey(property.getName().getName()))
                 {
                     property = getProperty(fileName, property.getName());
                     if (property != null)

Modified: commons/proper/vfs/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/pom.xml?rev=1156988&r1=1156987&r2=1156988&view=diff
==============================================================================
--- commons/proper/vfs/trunk/pom.xml (original)
+++ commons/proper/vfs/trunk/pom.xml Fri Aug 12 07:14:56 2011
@@ -134,12 +134,12 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-checkstyle-plugin</artifactId>
-          <version>2.6</version>
+          <version>2.7</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-release-plugin</artifactId>
-          <version>2.2</version>
+          <version>2.2.1</version>
           <configuration>
             <preparationGoals>clean verify exec:exec -Dexec.executable=svn -Dexec.args="add
RELEASE-NOTES.txt"</preparationGoals>
             <completionGoals>exec:exec -Dexec.executable=svn -Dexec.args="delete RELEASE-NOTES.txt"</completionGoals>
@@ -154,23 +154,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>com.puppycrawl.tools</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>5.3</version>
-            <exclusions>
-              <exclusion>  <!-- exclude older artifacts -->
-                <groupId>checkstyle</groupId>
-                <artifactId>checkstyle</artifactId>
-              </exclusion>
-              <exclusion>
-                <groupId>com.sun</groupId>
-                <artifactId>tools</artifactId>
-              </exclusion>
-             </exclusions>
-          </dependency>
-        </dependencies>
       </plugin>
       <plugin>
         <groupId>org.apache.commons</groupId>
@@ -188,7 +171,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
-        <version>2.4</version>
+        <version>2.6</version>
         <configuration>
           <xmlPath>${basedir}/src/changes/changes.xml</xmlPath>
           <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
@@ -204,7 +187,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>2.6</version>
+        <version>2.7</version>
         <configuration>
           <!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation>
-->
           <configLocation>${vfs.parent.dir}/checkstyle.xml</configLocation>
@@ -401,7 +384,7 @@
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-changes-plugin</artifactId>
-            <version>2.4</version>
+            <version>2.6</version>
             <configuration>
               <template>announcement.vm</template>
               <templateDirectory>src/changes</templateDirectory>



Mime
View raw message