Update of /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/util/text
In directory sc8-pr-cvs1:/tmp/cvs-serv17634/src/java/core/org/krysalis/ruper2/util/text
Modified Files:
Messages.java
Log Message:
1) Moved VirtualResourceLocator ot a .util.net package
2) Fixed it up a litte, still pretty crude (but working).
Index: Messages.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/util/text/Messages.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Messages.java 29 Sep 2003 18:09:21 -0000 1.1
--- Messages.java 9 Oct 2003 16:02:21 -0000 1.2
***************
*** 77,81 ****
final Object param1,
Object param2) {
! return getString(code, new Object[] { param1, param2});
}
--- 77,81 ----
final Object param1,
Object param2) {
! return getString(code, new Object[] { param1, param2 });
}
***************
*** 94,103 ****
Object param2,
Object param3) {
! return getString(
! code,
! new Object[] {
! param1,
! param2,
! param3});
}
--- 94,98 ----
Object param2,
Object param3) {
! return getString(code, new Object[] { param1, param2, param3 });
}
***************
*** 158,166 ****
}
catch (MissingResourceException mre) {
}
// get the message format
! if (msgText != null)
! format = new MessageFormat(msgText);
return format;
--- 153,168 ----
}
catch (MissingResourceException mre) {
+ //:TODO: Do we need to print to System.err?
}
// get the message format
! if (msgText != null) {
! try {
! format = new MessageFormat(msgText);
! }
! catch (Exception e) {
! //:TODO: Do we need to print to System.err?
! }
! }
return format;
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.