notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r1332 - in development/main/metro/meta: api/src/main/net/dpml/meta/info impl/src/main/net/dpml/meta/info/builder/impl spi/src/main/net/dpml/meta/info/locator
- From: niclas AT netcompartner.com
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r1332 - in development/main/metro/meta: api/src/main/net/dpml/meta/info impl/src/main/net/dpml/meta/info/builder/impl spi/src/main/net/dpml/meta/info/locator
- Date: Fri, 31 Dec 2004 03:42:49 +0100
Author: niclas
Date: Fri Dec 31 03:42:49 2004
New Revision: 1332
Modified:
development/main/metro/meta/api/src/main/net/dpml/meta/info/Descriptor.java
development/main/metro/meta/impl/src/main/net/dpml/meta/info/builder/impl/ServiceBuilder.java
development/main/metro/meta/spi/src/main/net/dpml/meta/info/locator/ResourceLocator.java
Log:
Formatting.
Modified:
development/main/metro/meta/api/src/main/net/dpml/meta/info/Descriptor.java
==============================================================================
---
development/main/metro/meta/api/src/main/net/dpml/meta/info/Descriptor.java
(original)
+++
development/main/metro/meta/api/src/main/net/dpml/meta/info/Descriptor.java
Fri Dec 31 03:42:49 2004
@@ -112,7 +112,8 @@
if ( other instanceof Descriptor )
{
Descriptor descriptor = (Descriptor) other;
- if ( null == m_attributes ) return null ==
descriptor.m_attributes;
+ if ( null == m_attributes )
+ return null == descriptor.m_attributes;
return m_attributes.equals( descriptor.m_attributes );
}
Modified:
development/main/metro/meta/impl/src/main/net/dpml/meta/info/builder/impl/ServiceBuilder.java
==============================================================================
---
development/main/metro/meta/impl/src/main/net/dpml/meta/info/builder/impl/ServiceBuilder.java
(original)
+++
development/main/metro/meta/impl/src/main/net/dpml/meta/info/builder/impl/ServiceBuilder.java
Fri Dec 31 03:42:49 2004
@@ -67,7 +67,7 @@
* @throws Exception if an error occurs
*/
public Service build( final String classname,
- final ClassLoader classLoader )
+ final ClassLoader classLoader )
throws Exception
{
final Service info = buildFromSerDescriptor( classname, classLoader
);
Modified:
development/main/metro/meta/spi/src/main/net/dpml/meta/info/locator/ResourceLocator.java
==============================================================================
---
development/main/metro/meta/spi/src/main/net/dpml/meta/info/locator/ResourceLocator.java
(original)
+++
development/main/metro/meta/spi/src/main/net/dpml/meta/info/locator/ResourceLocator.java
Fri Dec 31 03:42:49 2004
@@ -27,7 +27,7 @@
/**
* ResourceLocator provides an interface for the readers and writers to
- * get i9nput and output streams relative to a type.
+ * get input and output streams relative to a type.
*
* @author <a href="mailto:dev-dpml AT lists.ibiblio.org";>The Digital Product
Meta Library</a>
* @version $Id$
@@ -43,7 +43,8 @@
* @return the input stream
* @throws IOException if the stream does not exist or there is a
problem obtaining it.
*/
- InputStream getInputStream( Type type, String key ) throws IOException;
+ InputStream getInputStream( Type type, String key )
+ throws IOException;
/**
* Get the required stream based on type and resource identifier.
@@ -53,5 +54,6 @@
* @return the output stream
* @throws IOException if there is a problem obtaining it.
*/
- OutputStream getOutputStream( Type type, String key ) throws IOException;
+ OutputStream getOutputStream( Type type, String key )
+ throws IOException;
}
- svn commit: r1332 - in development/main/metro/meta: api/src/main/net/dpml/meta/info impl/src/main/net/dpml/meta/info/builder/impl spi/src/main/net/dpml/meta/info/locator, niclas, 12/30/2004
Archive powered by MHonArc 2.6.24.