[dna-commits] DNA SVN: r1495 - in trunk: extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem and 2 other directories.

dna-commits at lists.jboss.org dna-commits at lists.jboss.org
Wed Dec 30 15:18:42 EST 2009


Author: rhauch
Date: 2009-12-30 15:18:42 -0500 (Wed, 30 Dec 2009)
New Revision: 1495

Modified:
   trunk/.gitignore
   trunk/extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem/FileSystemRepository.java
   trunk/extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem/package-info.java
   trunk/extensions/dna-connector-filesystem/src/test/java/org/jboss/dna/connector/filesystem/FileSystemSourceTest.java
   trunk/utils/dna-jpa-ddl-gen/.classpath
Log:
Corrected several compiler warnings related to JavaDoc and generated-accessors. Also fixed the .classpath file for the DDL generator project.

Modified: trunk/.gitignore
===================================================================
--- trunk/.gitignore	2009-12-30 01:15:22 UTC (rev 1494)
+++ trunk/.gitignore	2009-12-30 20:18:42 UTC (rev 1495)
@@ -64,6 +64,7 @@
 /extensions/dna-sequencer-jbpm-jpdl/target
 /extensions/dna-sequencer-mp3/target
 /extensions/dna-sequencer-msoffice/target
+/extensions/dna-sequencer-text/target
 /extensions/dna-sequencer-xml/target
 /extensions/dna-sequencer-zip/target
 

Modified: trunk/extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem/FileSystemRepository.java
===================================================================
--- trunk/extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem/FileSystemRepository.java	2009-12-30 01:15:22 UTC (rev 1494)
+++ trunk/extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem/FileSystemRepository.java	2009-12-30 20:18:42 UTC (rev 1495)
@@ -77,7 +77,7 @@
 public class FileSystemRepository extends WritablePathRepository {
     private static final String DEFAULT_MIME_TYPE = "application/octet";
 
-    private final FileSystemSource source;
+    protected final FileSystemSource source;
     private File repositoryRoot;
 
     public FileSystemRepository( FileSystemSource source ) {
@@ -685,15 +685,15 @@
         }
 
         /**
-         * Recursively checks if any of the files in the tree rooted at {@code root} would exceed the {@link #maxPathLength
-         * maximum path length for the processor} if their paths were {@code delta} characters longer. If any files would exceed
-         * this length, a {@link RepositorySourceException} is thrown.
+         * Recursively checks if any of the files in the tree rooted at {@code root} would exceed the
+         * {@link FileSystemSource#getMaxPathLength() maximum path length for the processor} if their paths were {@code delta}
+         * characters longer. If any files would exceed this length, a {@link RepositorySourceException} is thrown.
          * 
          * @param root the root of the tree to check; may be a file or directory but may not be null
          * @param delta the change in the length of the path to check. Used to preemptively check whether moving a file or
          *        directory to a new path would violate path length rules
          * @throws RepositorySourceException if any files in the tree rooted at {@code root} would exceed this
-         *         {@link #maxPathLength the maximum path length for this processor}
+         *         {@link FileSystemSource#getMaxPathLength() the maximum path length for this processor}
          */
         protected void ensureValidPathLength( File root,
                                               int delta ) {

Modified: trunk/extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem/package-info.java
===================================================================
--- trunk/extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem/package-info.java	2009-12-30 01:15:22 UTC (rev 1494)
+++ trunk/extensions/dna-connector-filesystem/src/main/java/org/jboss/dna/connector/filesystem/package-info.java	2009-12-30 20:18:42 UTC (rev 1495)
@@ -23,7 +23,7 @@
  */
 /**
  * The classes that make up the connector that accesses the files and directories on a local file system and exposes them as content in a repository.
- * This connector is based on the {@link WritablePathRepository path repository framework}.
+ * This connector is based on the {@link org.jboss.dna.graph.connector.path.WritablePathRepository path repository framework}.
  */
 
 package org.jboss.dna.connector.filesystem;

Modified: trunk/extensions/dna-connector-filesystem/src/test/java/org/jboss/dna/connector/filesystem/FileSystemSourceTest.java
===================================================================
--- trunk/extensions/dna-connector-filesystem/src/test/java/org/jboss/dna/connector/filesystem/FileSystemSourceTest.java	2009-12-30 01:15:22 UTC (rev 1494)
+++ trunk/extensions/dna-connector-filesystem/src/test/java/org/jboss/dna/connector/filesystem/FileSystemSourceTest.java	2009-12-30 20:18:42 UTC (rev 1495)
@@ -71,6 +71,7 @@
             public RepositoryConnectionFactory getRepositoryConnectionFactory() {
                 return new RepositoryConnectionFactory() {
 
+                    @SuppressWarnings( "synthetic-access" )
                     public RepositoryConnection createConnection( String sourceName ) throws RepositorySourceException {
                         return source.getConnection();
                     }

Modified: trunk/utils/dna-jpa-ddl-gen/.classpath
===================================================================
--- trunk/utils/dna-jpa-ddl-gen/.classpath	2009-12-30 01:15:22 UTC (rev 1494)
+++ trunk/utils/dna-jpa-ddl-gen/.classpath	2009-12-30 20:18:42 UTC (rev 1495)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
-	<classpathentry kind="src" path="src/test/java"/>
-	<classpathentry kind="src" path="src/main/resources"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
-	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
-	<classpathentry kind="output" path="target/classes"/>
+    <classpathentry kind="src" path="src/main/java"/>
+    <classpathentry kind="src" path="src/main/resources"/>
+    <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+    <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+    <classpathentry kind="output" path="target/classes"/>
 </classpath>



More information about the dna-commits mailing list