colus 01/11/01 07:26:14
Modified: src/scratchpad/org/apache/avalon/excalibur/i18n Bundle.java
BundleInfoMapper.java BundleLoader.java
Log:
Removed redundant 'public' keyword for jikes.
Revision Changes Path
1.3 +11 -11
jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/i18n/Bundle.java
Index: Bundle.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/i18n/Bundle.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Bundle.java 2001/10/31 19:56:47 1.2
+++ Bundle.java 2001/11/01 15:26:14 1.3
@@ -14,7 +14,7 @@
* This is the interface of the ResourceBundle, for used for i18n support.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Neeme Praks</a>
- * @version CVS $Revision: 1.2 $ $Date: 2001/10/31 19:56:47 $ $Author: neeme
$
+ * @version CVS $Revision: 1.3 $ $Date: 2001/11/01 15:26:14 $ $Author: colus
$
*/
public interface Bundle {
@@ -23,29 +23,29 @@
*
* @param uri URI of the XML source
*/
- public void init(String uri) throws Exception;
+ void init(String uri) throws Exception;
/**
* Load all the keys when initializing?
*/
- public void setLoadOnInit(boolean loadOnInit);
+ void setLoadOnInit(boolean loadOnInit);
/**
* Get the bundle info.
*/
- public BundleInfo getBundleInfo();
+ BundleInfo getBundleInfo();
/**
* Set the bundle info.
*/
- public void setBundleInfo(BundleInfo bundleInfo);
+ void setBundleInfo(BundleInfo bundleInfo);
/**
* Get the parent bundle of the current bundle.
*
* @return the parent bundle
*/
- public Bundle getParent();
+ Bundle getParent();
/**
* Set the parent bundle of the current bundle.
@@ -61,7 +61,7 @@
* @return value
* @exception MissingResourceException if value was not found
*/
- public String getString(String key);
+ String getString(String key);
/**
* Get value by key and substitute variables.
@@ -71,7 +71,7 @@
* @return value with variable values substituted
* @exception MissingResourceException if value was not found
*/
- public String getString(String key, Map values);
+ String getString(String key, Map values);
/**
* Convert the "user view" of the lookup key to the
@@ -81,14 +81,14 @@
* @param key user key
* @return system key
*/
- public String convertKey(String userKey);
+ String convertKey(String userKey);
/**
* Returns the last modification time of this bundle, in milliseconds.
*
* @return last modification time, -1 if N/A
*/
- public long getLastModified();
+ long getLastModified();
/**
* Sets the last modification time of this bundle, in milliseconds.
@@ -97,4 +97,4 @@
*/
void setLastModified(long lastModified);
-}
\ No newline at end of file
+}
1.2 +3 -4
jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/i18n/BundleInfoMapper.java
Index: BundleInfoMapper.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/i18n/BundleInfoMapper.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- BundleInfoMapper.java 2001/10/30 21:38:56 1.1
+++ BundleInfoMapper.java 2001/11/01 15:26:14 1.2
@@ -12,7 +12,7 @@
* to find the relevant bundle.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Neeme Praks</a>
- * @version CVS $Revision: 1.1 $ $Date: 2001/10/30 21:38:56 $ $Author: neeme
$
+ * @version CVS $Revision: 1.2 $ $Date: 2001/11/01 15:26:14 $ $Author: colus
$
*/
public interface BundleInfoMapper {
@@ -21,6 +21,5 @@
*
* @return the string form
*/
- public String map(BundleInfo bundleInfo);
-
-}
\ No newline at end of file
+ String map(BundleInfo bundleInfo);
+}
1.2 +4 -5
jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/i18n/BundleLoader.java
Index: BundleLoader.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/i18n/BundleLoader.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- BundleLoader.java 2001/10/30 21:38:56 1.1
+++ BundleLoader.java 2001/11/01 15:26:14 1.2
@@ -13,7 +13,7 @@
* Used to map locale information to URI space, to find the relevant bundle.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Neeme Praks</a>
- * @version CVS $Revision: 1.1 $ $Date: 2001/10/30 21:38:56 $ $Author: neeme
$
+ * @version CVS $Revision: 1.2 $ $Date: 2001/11/01 15:26:14 $ $Author: colus
$
*/
public interface BundleLoader extends Configurable {
@@ -22,8 +22,7 @@
*
* @return the bundle
*/
- public Bundle loadBundle(BundleInfo bundleInfo);
+ Bundle loadBundle(BundleInfo bundleInfo);
- public void setBundleSelector(BundleSelector bundleSelector);
-
-}
\ No newline at end of file
+ void setBundleSelector(BundleSelector bundleSelector);
+}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>