[dna-commits] DNA SVN: r93 - in trunk: dna-common/src/test/java/org/jboss/dna/common/naming and 6 other directories.

dna-commits at lists.jboss.org dna-commits at lists.jboss.org
Fri Apr 18 20:21:53 EDT 2008


Author: jverhaeg at redhat.com
Date: 2008-04-18 20:21:53 -0400 (Fri, 18 Apr 2008)
New Revision: 93

Modified:
   trunk/dna-common/src/main/java/org/jboss/dna/common/util/Logger.java
   trunk/dna-common/src/test/java/org/jboss/dna/common/naming/MockInitialContext.java
   trunk/dna-maven-classloader/src/main/java/org/jboss/dna/maven/MavenRepository.java
   trunk/dna-maven-classloader/src/main/java/org/jboss/dna/maven/spi/MavenUrlProvider.java
   trunk/dna-services/src/main/java/org/jboss/dna/services/ExecutionContext.java
   trunk/dna-services/src/main/java/org/jboss/dna/services/observation/ObservationService.java
   trunk/dna-services/src/main/java/org/jboss/dna/services/rules/RuleSet.java
   trunk/dna-services/src/main/java/org/jboss/dna/services/rules/RuleSetRepositoryMonitor.java
   trunk/dna-services/src/main/java/org/jboss/dna/services/sequencers/Sequencer.java
   trunk/dna-services/src/main/java/org/jboss/dna/services/sequencers/SequencerOutput.java
   trunk/dna-services/src/main/java/org/jboss/dna/services/sequencers/SequencingService.java
Log:
Reformatted

Modified: trunk/dna-common/src/main/java/org/jboss/dna/common/util/Logger.java
===================================================================
--- trunk/dna-common/src/main/java/org/jboss/dna/common/util/Logger.java	2008-04-16 19:53:51 UTC (rev 92)
+++ trunk/dna-common/src/main/java/org/jboss/dna/common/util/Logger.java	2008-04-19 00:21:53 UTC (rev 93)
@@ -25,7 +25,6 @@
 import java.util.concurrent.atomic.AtomicReference;
 import net.jcip.annotations.ThreadSafe;
 import org.jboss.dna.common.i18n.I18n;
-import org.slf4j.ILoggerFactory;
 import org.slf4j.LoggerFactory;
 
 /**

Modified: trunk/dna-common/src/test/java/org/jboss/dna/common/naming/MockInitialContext.java
===================================================================
--- trunk/dna-common/src/test/java/org/jboss/dna/common/naming/MockInitialContext.java	2008-04-16 19:53:51 UTC (rev 92)
+++ trunk/dna-common/src/test/java/org/jboss/dna/common/naming/MockInitialContext.java	2008-04-19 00:21:53 UTC (rev 93)
@@ -34,7 +34,6 @@
 import javax.naming.NameParser;
 import javax.naming.NamingEnumeration;
 import javax.naming.NamingException;
-import javax.naming.spi.InitialContextFactory;
 import org.jboss.dna.common.SystemFailureException;
 
 /**

Modified: trunk/dna-maven-classloader/src/main/java/org/jboss/dna/maven/MavenRepository.java
===================================================================
--- trunk/dna-maven-classloader/src/main/java/org/jboss/dna/maven/MavenRepository.java	2008-04-16 19:53:51 UTC (rev 92)
+++ trunk/dna-maven-classloader/src/main/java/org/jboss/dna/maven/MavenRepository.java	2008-04-19 00:21:53 UTC (rev 93)
@@ -25,7 +25,6 @@
 import java.io.InputStream;
 import java.net.MalformedURLException;
 import java.net.URL;
-import java.net.URLConnection;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.EnumSet;
@@ -33,7 +32,6 @@
 import java.util.Iterator;
 import java.util.List;
 import java.util.Set;
-import javax.jcr.Repository;
 import javax.xml.parsers.DocumentBuilder;
 import javax.xml.parsers.DocumentBuilderFactory;
 import javax.xml.parsers.ParserConfigurationException;
@@ -47,7 +45,6 @@
 import org.jboss.dna.common.util.Logger;
 import org.jboss.dna.common.xml.SimpleNamespaceContext;
 import org.jboss.dna.maven.spi.MavenUrlProvider;
-import org.jboss.dna.maven.spi.JcrMavenUrlProvider;
 import org.w3c.dom.Document;
 import org.w3c.dom.NodeList;
 import org.xml.sax.SAXException;

Modified: trunk/dna-maven-classloader/src/main/java/org/jboss/dna/maven/spi/MavenUrlProvider.java
===================================================================
--- trunk/dna-maven-classloader/src/main/java/org/jboss/dna/maven/spi/MavenUrlProvider.java	2008-04-16 19:53:51 UTC (rev 92)
+++ trunk/dna-maven-classloader/src/main/java/org/jboss/dna/maven/spi/MavenUrlProvider.java	2008-04-19 00:21:53 UTC (rev 93)
@@ -23,11 +23,9 @@
 
 import java.net.MalformedURLException;
 import java.net.URL;
-import java.net.URLConnection;
 import java.util.Properties;
 import org.jboss.dna.maven.ArtifactType;
 import org.jboss.dna.maven.MavenId;
-import org.jboss.dna.maven.MavenRepository;
 import org.jboss.dna.maven.MavenRepositoryException;
 import org.jboss.dna.maven.SignatureType;
 

Modified: trunk/dna-services/src/main/java/org/jboss/dna/services/ExecutionContext.java
===================================================================
--- trunk/dna-services/src/main/java/org/jboss/dna/services/ExecutionContext.java	2008-04-16 19:53:51 UTC (rev 92)
+++ trunk/dna-services/src/main/java/org/jboss/dna/services/ExecutionContext.java	2008-04-19 00:21:53 UTC (rev 93)
@@ -21,7 +21,6 @@
  */
 package org.jboss.dna.services;
 
-import javax.jcr.Session;
 import org.jboss.dna.services.util.JcrTools;
 
 /**

Modified: trunk/dna-services/src/main/java/org/jboss/dna/services/observation/ObservationService.java
===================================================================
--- trunk/dna-services/src/main/java/org/jboss/dna/services/observation/ObservationService.java	2008-04-16 19:53:51 UTC (rev 92)
+++ trunk/dna-services/src/main/java/org/jboss/dna/services/observation/ObservationService.java	2008-04-19 00:21:53 UTC (rev 93)
@@ -38,7 +38,6 @@
 import javax.jcr.observation.Event;
 import javax.jcr.observation.EventIterator;
 import javax.jcr.observation.EventListener;
-import javax.jcr.observation.ObservationManager;
 import net.jcip.annotations.GuardedBy;
 import net.jcip.annotations.ThreadSafe;
 import org.jboss.dna.common.util.ArgCheck;

Modified: trunk/dna-services/src/main/java/org/jboss/dna/services/rules/RuleSet.java
===================================================================
--- trunk/dna-services/src/main/java/org/jboss/dna/services/rules/RuleSet.java	2008-04-16 19:53:51 UTC (rev 92)
+++ trunk/dna-services/src/main/java/org/jboss/dna/services/rules/RuleSet.java	2008-04-19 00:21:53 UTC (rev 93)
@@ -23,15 +23,10 @@
 
 import java.io.ByteArrayInputStream;
 import java.io.InputStreamReader;
-import java.io.Reader;
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.Map;
-import javax.rules.RuleServiceProvider;
-import javax.rules.admin.RuleExecutionSet;
-import javax.rules.admin.RuleExecutionSetProvider;
 import net.jcip.annotations.Immutable;
-import org.jboss.dna.common.component.ClassLoaderFactory;
 import org.jboss.dna.common.component.ComponentConfig;
 import org.jboss.dna.common.util.ArgCheck;
 

Modified: trunk/dna-services/src/main/java/org/jboss/dna/services/rules/RuleSetRepositoryMonitor.java
===================================================================
--- trunk/dna-services/src/main/java/org/jboss/dna/services/rules/RuleSetRepositoryMonitor.java	2008-04-16 19:53:51 UTC (rev 92)
+++ trunk/dna-services/src/main/java/org/jboss/dna/services/rules/RuleSetRepositoryMonitor.java	2008-04-19 00:21:53 UTC (rev 93)
@@ -41,7 +41,6 @@
 import org.jboss.dna.services.observation.NodeChange;
 import org.jboss.dna.services.observation.NodeChangeListener;
 import org.jboss.dna.services.observation.NodeChanges;
-import org.jboss.dna.services.observation.ObservationService;
 import org.jboss.dna.services.util.JcrTools;
 import org.jboss.dna.services.util.Problems;
 

Modified: trunk/dna-services/src/main/java/org/jboss/dna/services/sequencers/Sequencer.java
===================================================================
--- trunk/dna-services/src/main/java/org/jboss/dna/services/sequencers/Sequencer.java	2008-04-16 19:53:51 UTC (rev 92)
+++ trunk/dna-services/src/main/java/org/jboss/dna/services/sequencers/Sequencer.java	2008-04-19 00:21:53 UTC (rev 93)
@@ -24,16 +24,12 @@
 import java.util.Set;
 import javax.jcr.Node;
 import javax.jcr.RepositoryException;
-import javax.jcr.Session;
 import net.jcip.annotations.ThreadSafe;
 import org.jboss.dna.common.component.Component;
 import org.jboss.dna.common.monitor.ProgressMonitor;
 import org.jboss.dna.services.ExecutionContext;
 import org.jboss.dna.services.RepositoryNodePath;
 import org.jboss.dna.services.observation.NodeChange;
-import org.jboss.dna.services.observation.NodeChangeListener;
-import org.jboss.dna.services.observation.NodeChanges;
-import org.jboss.dna.services.observation.ObservationService;
 
 /**
  * The interface for a DNA sequencer, which sequences nodes and their content to extract additional information from the

Modified: trunk/dna-services/src/main/java/org/jboss/dna/services/sequencers/SequencerOutput.java
===================================================================
--- trunk/dna-services/src/main/java/org/jboss/dna/services/sequencers/SequencerOutput.java	2008-04-16 19:53:51 UTC (rev 92)
+++ trunk/dna-services/src/main/java/org/jboss/dna/services/sequencers/SequencerOutput.java	2008-04-19 00:21:53 UTC (rev 93)
@@ -2,7 +2,7 @@
  * JBoss, Home of Professional Open Source.
  * Copyright 2008, Red Hat Middleware LLC, and individual contributors
  * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors. 
+ * distribution for a full listing of individual contributors.
  *
  * This is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as
@@ -21,41 +21,45 @@
  */
 package org.jboss.dna.services.sequencers;
 
-import java.io.InputStream;
-import java.util.Calendar;
-
 /**
  * Interface for sequencers to use to generate their output.
+ *
  * @author Randall Hauch
  */
 public interface SequencerOutput {
 
-    /**
-     * Set the supplied property on the supplied node.
-     * <p>
-     * The allowable values are any of the following:
-     * <ul>
-     * <li>primitives (which will be autoboxed)</li>
-     * <li>{@link String} instances</li>
-     * <li>{@link String} arrays</li>
-     * <li>byte arrays</li>
-     * <li>{@link InputStream} instances</li>
-     * <li>{@link Calendar} instances</li>
-     * <li></li>
-     * </ul>
-     * </p>
-     * @param nodePath the path to the node containing the property; may not be null
-     * @param property the name of the property to be set
-     * @param values the value(s) for the property; may be empty if any existing property is to be removed
-     */
-    void setProperty( String nodePath, String property, Object... values );
+	/**
+	 * Set the supplied property on the supplied node.
+	 * <p>
+	 * The allowable values are any of the following:
+	 * <ul>
+	 * <li>primitives (which will be autoboxed)</li>
+	 * <li>{@link String} instances</li>
+	 * <li>{@link String} arrays</li>
+	 * <li>byte arrays</li>
+	 * <li>{@link InputStream} instances</li>
+	 * <li>{@link Calendar} instances</li>
+	 * <li></li>
+	 * </ul>
+	 * </p>
+	 *
+	 * @param nodePath the path to the node containing the property; may not be null
+	 * @param property the name of the property to be set
+	 * @param values the value(s) for the property; may be empty if any existing property is to be removed
+	 */
+	void setProperty( String nodePath,
+	                  String property,
+	                  Object... values );
 
-    /**
-     * Set the supplied reference on the supplied node.
-     * @param nodePath the path to the node containing the property; may not be null
-     * @param property the name of the property to be set
-     * @param paths the paths to the referenced property, which may be absolute paths or relative to the sequencer output node;
-     * may be empty if any existing property is to be removed
-     */
-    void setReference( String nodePath, String property, String... paths );
+	/**
+	 * Set the supplied reference on the supplied node.
+	 *
+	 * @param nodePath the path to the node containing the property; may not be null
+	 * @param property the name of the property to be set
+	 * @param paths the paths to the referenced property, which may be absolute paths or relative to the sequencer output node;
+	 *        may be empty if any existing property is to be removed
+	 */
+	void setReference( String nodePath,
+	                   String property,
+	                   String... paths );
 }

Modified: trunk/dna-services/src/main/java/org/jboss/dna/services/sequencers/SequencingService.java
===================================================================
--- trunk/dna-services/src/main/java/org/jboss/dna/services/sequencers/SequencingService.java	2008-04-16 19:53:51 UTC (rev 92)
+++ trunk/dna-services/src/main/java/org/jboss/dna/services/sequencers/SequencingService.java	2008-04-19 00:21:53 UTC (rev 93)
@@ -33,7 +33,6 @@
 import java.util.concurrent.atomic.AtomicBoolean;
 import java.util.concurrent.atomic.AtomicLong;
 import javax.jcr.Node;
-import javax.jcr.Repository;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
 import javax.jcr.observation.Event;




More information about the dna-commits mailing list