giacomo 2003/01/09 06:35:25
Modified: src/scratchpad/src/org/apache/cocoon/components/source/impl
SlideSource.java
Log:
make some method package protected instead of privat to increase performance by
avoiding 'access emulated by a synthetic accessor method' (objected by eclipse)
Revision Changes Path
1.24 +18 -10
xml-cocoon2/src/scratchpad/src/org/apache/cocoon/components/source/impl/SlideSource.java
Index: SlideSource.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/components/source/impl/SlideSource.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -b -u -r1.23 -r1.24
--- SlideSource.java 7 Jan 2003 23:56:14 -0000 1.23
+++ SlideSource.java 9 Jan 2003 14:35:25 -0000 1.24
@@ -133,22 +133,22 @@
private ComponentManager manager;
/** Component context */
- private Context context;
+ Context context;
/** Sytem id */
private String systemid;
/** Namespace access token. */
- private NamespaceAccessToken nat;
+ NamespaceAccessToken nat;
/** Configuration of namespace */
- private NamespaceConfig config;
+ NamespaceConfig config;
/** Structure helper. */
- private Structure structure;
+ Structure structure;
/** Content helper. */
- private Content content;
+ Content content;
/** Security helper. */
private Security security;
@@ -162,19 +162,19 @@
private CredentialsToken credToken;
/** Slide token. */
- private SlideToken slideToken;
+ SlideToken slideToken;
/** Pseudo protocol */
private String protocol = "slide";
/** The URI of the source*/
- private String uri;
+ String uri;
/** Revision number */
- private NodeRevisionNumber revisionNumber;
+ NodeRevisionNumber revisionNumber;
private NodeRevisionDescriptors revisionDescriptors = null;
- private NodeRevisionDescriptor revisionDescriptor = null;
+ NodeRevisionDescriptor revisionDescriptor = null;
//private String branch;
@@ -1519,5 +1519,13 @@
throw new SourceException("Could not retrieve revision descriptor", se);
}
}
+ /* (non-Javadoc)
+ * @see org.apache.excalibur.source.Source#getProtocol()
+ */
+ public String getProtocol()
+ {
+ return null;
+ }
+
}
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]